Vanilla.PDF  1.3.0
Cross-platform toolkit for creating and modifying PDF documents
c_integer_object.h
Go to the documentation of this file.
1 #ifndef _C_INTEGER_OBJECT_H
2 #define _C_INTEGER_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 IntegerObject_Create(IntegerObjectHandle** result);
34 
38  VANILLAPDF_API error_type CALLING_CONVENTION IntegerObject_GetIntegerValue(IntegerObjectHandle* handle, bigint_type* result);
39 
43  VANILLAPDF_API error_type CALLING_CONVENTION IntegerObject_GetUnsignedIntegerValue(IntegerObjectHandle* handle, biguint_type* result);
44 
48  VANILLAPDF_API error_type CALLING_CONVENTION IntegerObject_SetIntegerValue(IntegerObjectHandle* handle, bigint_type value);
49 
53  VANILLAPDF_API error_type CALLING_CONVENTION IntegerObject_SetUnsignedIntegerValue(IntegerObjectHandle* handle, biguint_type value);
54 
58  VANILLAPDF_API error_type CALLING_CONVENTION IntegerObject_Release(IntegerObjectHandle* handle);
59 
62 #ifdef __cplusplus
63 };
64 #endif
65 
66 #endif /* _C_INTEGER_OBJECT_H */
error_type IntegerObject_SetUnsignedIntegerValue(IntegerObjectHandle *handle, biguint_type value)
Set objects new unsigned integer value.
uint64_t biguint_type
64-bit unsigned integer type
Definition: c_types.h:77
Represents integer values.
This file contains all type forward declarations returned by the library API.
error_type IntegerObject_SetIntegerValue(IntegerObjectHandle *handle, bigint_type value)
Set objects new integer value.
error_type IntegerObject_GetIntegerValue(IntegerObjectHandle *handle, bigint_type *result)
Return objects contained integer value.
int64_t bigint_type
64-bit signed integer type
Definition: c_types.h:72
uint32_t error_type
This is return value type of all API functions.
Definition: c_types.h:25
error_type IntegerObject_GetUnsignedIntegerValue(IntegerObjectHandle *handle, biguint_type *result)
Return objects contained unsigned integer value.
This file contains macro declarations for importing and exporting symbols from library boundaries...
error_type IntegerObject_Create(IntegerObjectHandle **result)
Creates a new IntegerObject instance.
error_type IntegerObject_Release(IntegerObjectHandle *handle)
Decrement the internal reference counter.
This file contains types and constants used as parameters or return values.