Vanilla.PDF  1.3.0
Cross-platform toolkit for creating and modifying PDF documents
c_indirect_object_reference.h
Go to the documentation of this file.
1 #ifndef _C_INDIRECT_OBJECT_REFERENCE_H
2 #define _C_INDIRECT_OBJECT_REFERENCE_H
3 
4 #include "vanillapdf/c_export.h"
5 #include "vanillapdf/c_handles.h"
6 #include "vanillapdf/c_values.h"
7 
8 #ifdef __cplusplus
9 extern "C"
10 {
11 #endif
12 
33  VANILLAPDF_API error_type CALLING_CONVENTION IndirectObjectReference_Create(IndirectObjectReferenceHandle** result);
34 
39 
44 
48  VANILLAPDF_API error_type CALLING_CONVENTION IndirectObjectReference_GetReferencedObject(IndirectObjectReferenceHandle* handle, ObjectHandle** result);
49 
54 
58  VANILLAPDF_API error_type CALLING_CONVENTION IndirectObjectReference_Release(IndirectObjectReferenceHandle* handle);
59 
62 #ifdef __cplusplus
63 };
64 #endif
65 
66 #endif /* _C_INDIRECT_OBJECT_REFERENCE_H */
uint16_t ushort_type
16-bit unsigned integer
Definition: c_types.h:46
error_type IndirectObjectReference_GetReferencedObject(IndirectObjectReferenceHandle *handle, ObjectHandle **result)
Return object handle to referenced object.
error_type IndirectObjectReference_Release(IndirectObjectReferenceHandle *handle)
Decrement the internal reference counter.
error_type IndirectObjectReference_Create(IndirectObjectReferenceHandle **result)
Creates a new IndirectObjectReference instance.
uint64_t biguint_type
64-bit unsigned integer type
Definition: c_types.h:77
This file contains all type forward declarations returned by the library API.
Represents reference to other object.
Base class for syntactic tokens.
uint32_t error_type
This is return value type of all API functions.
Definition: c_types.h:25
This file contains macro declarations for importing and exporting symbols from library boundaries...
error_type IndirectObjectReference_SetReferencedObject(IndirectObjectReferenceHandle *handle, ObjectHandle *value)
Sets a new referenced object.
This file contains types and constants used as parameters or return values.
error_type IndirectObjectReference_GetReferencedObjectNumber(IndirectObjectReferenceHandle *handle, biguint_type *result)
Return object number of referenced object.
error_type IndirectObjectReference_GetReferencedGenerationNumber(IndirectObjectReferenceHandle *handle, ushort_type *result)
Return generation number of referenced object.