Vanilla.PDF  1.4.1
Cross-platform toolkit for creating and modifying PDF documents
c_content_instruction.h
Go to the documentation of this file.
1 #ifndef _C_CONTENT_INSTRUCTION_H
2 #define _C_CONTENT_INSTRUCTION_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 
29  typedef enum {
35 
42 
51  VANILLAPDF_API error_type CALLING_CONVENTION ContentInstruction_GetType(ContentInstructionHandle* handle, ContentInstructionType* result);
52 
56  VANILLAPDF_API error_type CALLING_CONVENTION ContentInstruction_ToOperation(ContentInstructionHandle* handle, ContentOperationHandle** result);
57 
61  VANILLAPDF_API error_type CALLING_CONVENTION ContentInstruction_ToObject(ContentInstructionHandle* handle, ContentObjectHandle** result);
62 
67  VANILLAPDF_API error_type CALLING_CONVENTION ContentInstruction_Release(ContentInstructionHandle* handle);
68 
71 #ifdef __cplusplus
72 };
73 #endif
74 
75 #endif /* _C_CONTENT_INSTRUCTION_H */
error_type ContentInstruction_ToOperation(ContentInstructionHandle *handle, ContentOperationHandle **result)
Reinterpret current object as ContentOperationHandle.
Composed non-atomic content object.
error_type ContentInstruction_GetType(ContentInstructionHandle *handle, ContentInstructionType *result)
Get derived type of current object.
Atomic content operation.
Definition: c_content_instruction.h:34
This file contains all type forward declarations returned by the library API.
error_type ContentInstruction_ToObject(ContentInstructionHandle *handle, ContentObjectHandle **result)
Reinterpret current object as ContentObjectHandle.
ContentInstructionType
Available content instruction types.
Definition: c_content_instruction.h:29
Base class for all content objects and operations.
Composed non-atomic content object.
Definition: c_content_instruction.h:40
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 ContentInstruction_Release(ContentInstructionHandle *handle)
Decrement the internal reference counter.
Atomic content operation.
This file contains types and constants used as parameters or return values.