Vanilla.PDF  1.3.0
Cross-platform toolkit for creating and modifying PDF documents
c_boolean_object.h
Go to the documentation of this file.
1 #ifndef _C_BOOLEAN_OBJECT_H
2 #define _C_BOOLEAN_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 BooleanObject_Create(BooleanObjectHandle** result);
34 
38  VANILLAPDF_API error_type CALLING_CONVENTION BooleanObject_GetValue(BooleanObjectHandle* handle, boolean_type* result);
39 
43  VANILLAPDF_API error_type CALLING_CONVENTION BooleanObject_SetValue(BooleanObjectHandle* handle, boolean_type value);
44 
48  VANILLAPDF_API error_type CALLING_CONVENTION BooleanObject_Release(BooleanObjectHandle* handle);
49 
52 #ifdef __cplusplus
53 };
54 #endif
55 
56 #endif /* _C_BOOLEAN_OBJECT_H */
error_type BooleanObject_SetValue(BooleanObjectHandle *handle, boolean_type value)
Set new boolean value.
error_type BooleanObject_GetValue(BooleanObjectHandle *handle, boolean_type *result)
Return current boolean value.
This file contains all type forward declarations returned by the library API.
error_type BooleanObject_Create(BooleanObjectHandle **result)
Creates a new instance.
Represents boolean type.
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 BooleanObject_Release(BooleanObjectHandle *handle)
Decrement the internal reference counter.
This file contains types and constants used as parameters or return values.
int8_t boolean_type
Boolean type supported in C.
Definition: c_types.h:31