Vanilla.PDF  1.6.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
7
8#ifdef __cplusplus
9extern "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_ToObject(IntegerObjectHandle* handle, ObjectHandle** result);
59
63 VANILLAPDF_API error_type CALLING_CONVENTION IntegerObject_FromObject(ObjectHandle* handle, IntegerObjectHandle** result);
64
68 VANILLAPDF_API error_type CALLING_CONVENTION IntegerObject_Release(IntegerObjectHandle* handle);
69
72#ifdef __cplusplus
73};
74#endif
75
76#endif /* _C_INTEGER_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.
Integer objects represent mathematical integers.
error_type CALLING_CONVENTION IntegerObject_GetUnsignedIntegerValue(IntegerObjectHandle *handle, biguint_type *result)
Return objects contained unsigned integer value.
error_type CALLING_CONVENTION IntegerObject_Release(IntegerObjectHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION IntegerObject_SetUnsignedIntegerValue(IntegerObjectHandle *handle, biguint_type value)
Set objects new unsigned integer value.
error_type CALLING_CONVENTION IntegerObject_SetIntegerValue(IntegerObjectHandle *handle, bigint_type value)
Set objects new integer value.
error_type CALLING_CONVENTION IntegerObject_FromObject(ObjectHandle *handle, IntegerObjectHandle **result)
Convert ObjectHandle to IntegerObjectHandle.
error_type CALLING_CONVENTION IntegerObject_GetIntegerValue(IntegerObjectHandle *handle, bigint_type *result)
Return objects contained integer value.
error_type CALLING_CONVENTION IntegerObject_Create(IntegerObjectHandle **result)
Creates a new IntegerObject instance.
error_type CALLING_CONVENTION IntegerObject_ToObject(IntegerObjectHandle *handle, ObjectHandle **result)
Reinterpret current object as ObjectHandle.
Base class for syntactic tokens.
uint32_t error_type
This is return value type of all API functions.
Definition: c_types.h:25
int64_t bigint_type
64-bit signed integer type
Definition: c_types.h:72
uint64_t biguint_type
64-bit unsigned integer type
Definition: c_types.h:77