Vanilla.PDF  1.4.1
Cross-platform toolkit for creating and modifying PDF documents
c_indirect_reference_object.h
Go to the documentation of this file.
1 #ifndef _C_INDIRECT_REFERENCE_OBJECT_H
2 #define _C_INDIRECT_REFERENCE_OBJECT_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 IndirectReferenceObject_Create(IndirectReferenceObjectHandle** result);
34 
39 
44 
48  VANILLAPDF_API error_type CALLING_CONVENTION IndirectReferenceObject_GetReferencedObject(IndirectReferenceObjectHandle* handle, ObjectHandle** result);
49 
54 
58  VANILLAPDF_API error_type CALLING_CONVENTION IndirectReferenceObject_ToObject(IndirectReferenceObjectHandle* handle, ObjectHandle** result);
59 
63  VANILLAPDF_API error_type CALLING_CONVENTION IndirectReferenceObject_FromObject(ObjectHandle* handle, IndirectReferenceObjectHandle** result);
64 
68  VANILLAPDF_API error_type CALLING_CONVENTION IndirectReferenceObject_Release(IndirectReferenceObjectHandle* handle);
69 
72 #ifdef __cplusplus
73 };
74 #endif
75 
76 #endif /* _C_INDIRECT_REFERENCE_OBJECT_H */
uint16_t ushort_type
16-bit unsigned integer
Definition: c_types.h:46
error_type IndirectReferenceObject_FromObject(ObjectHandle *handle, IndirectReferenceObjectHandle **result)
Convert ObjectHandle to IndirectReferenceObjectHandle.
error_type IndirectReferenceObject_Release(IndirectReferenceObjectHandle *handle)
Decrement the internal reference counter.
uint64_t biguint_type
64-bit unsigned integer type
Definition: c_types.h:77
error_type IndirectReferenceObject_GetReferencedObject(IndirectReferenceObjectHandle *handle, ObjectHandle **result)
Return object handle to referenced object.
This file contains all type forward declarations returned by the library API.
error_type IndirectReferenceObject_GetReferencedObjectNumber(IndirectReferenceObjectHandle *handle, biguint_type *result)
Return object number of referenced object.
error_type IndirectReferenceObject_ToObject(IndirectReferenceObjectHandle *handle, ObjectHandle **result)
Reinterpret current object as ObjectHandle.
error_type IndirectReferenceObject_SetReferencedObject(IndirectReferenceObjectHandle *handle, ObjectHandle *value)
Sets a new referenced object.
Base class for syntactic tokens.
error_type IndirectReferenceObject_Create(IndirectReferenceObjectHandle **result)
Creates a new IndirectReferenceObject instance.
error_type IndirectReferenceObject_GetReferencedGenerationNumber(IndirectReferenceObjectHandle *handle, ushort_type *result)
Return generation number of referenced object.
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...
Represents reference to other object.
This file contains types and constants used as parameters or return values.