Vanilla.PDF  1.4.1
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_ToObject(BooleanObjectHandle* handle, ObjectHandle** result);
49 
53  VANILLAPDF_API error_type CALLING_CONVENTION BooleanObject_FromObject(ObjectHandle* handle, BooleanObjectHandle** result);
54 
58  VANILLAPDF_API error_type CALLING_CONVENTION BooleanObject_Release(BooleanObjectHandle* handle);
59 
62 #ifdef __cplusplus
63 };
64 #endif
65 
66 #endif /* _C_BOOLEAN_OBJECT_H */
error_type BooleanObject_SetValue(BooleanObjectHandle *handle, boolean_type value)
Set new boolean value.
error_type BooleanObject_ToObject(BooleanObjectHandle *handle, ObjectHandle **result)
Reinterpret current object as ObjectHandle.
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.
Base class for syntactic tokens.
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.
error_type BooleanObject_FromObject(ObjectHandle *handle, BooleanObjectHandle **result)
Convert ObjectHandle to BooleanObjectHandle.
int8_t boolean_type
Boolean type supported in C.
Definition: c_types.h:31