Vanilla.PDF  1.6.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
7
8#ifdef __cplusplus
9extern "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 */
This file contains macro declarations for importing and exporting symbols from library boundaries.
This file contains all type forward declarations returned by the library API.
This file contains types and constants used as parameters or return values.
Boolean objects represent the logical values of true and false.
error_type CALLING_CONVENTION BooleanObject_GetValue(BooleanObjectHandle *handle, boolean_type *result)
Return current boolean value.
error_type CALLING_CONVENTION BooleanObject_FromObject(ObjectHandle *handle, BooleanObjectHandle **result)
Convert ObjectHandle to BooleanObjectHandle.
error_type CALLING_CONVENTION BooleanObject_Create(BooleanObjectHandle **result)
Creates a new instance.
error_type CALLING_CONVENTION BooleanObject_Release(BooleanObjectHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION BooleanObject_ToObject(BooleanObjectHandle *handle, ObjectHandle **result)
Reinterpret current object as ObjectHandle.
error_type CALLING_CONVENTION BooleanObject_SetValue(BooleanObjectHandle *handle, boolean_type value)
Set new boolean value.
Base class for syntactic tokens.
uint32_t error_type
This is return value type of all API functions.
Definition: c_types.h:25
int8_t boolean_type
Boolean type supported in C.
Definition: c_types.h:31