Vanilla.PDF  1.6.0
Cross-platform toolkit for creating and modifying PDF documents
c_real_object.h
Go to the documentation of this file.
1#ifndef _C_REAL_OBJECT_H
2#define _C_REAL_OBJECT_H
3
7
8#ifdef __cplusplus
9extern "C"
10{
11#endif
12
33 VANILLAPDF_API error_type CALLING_CONVENTION RealObject_Create(RealObjectHandle** result);
34
38 VANILLAPDF_API error_type CALLING_CONVENTION RealObject_GetValue(RealObjectHandle* handle, real_type* result);
39
43 VANILLAPDF_API error_type CALLING_CONVENTION RealObject_SetValue(RealObjectHandle* handle, real_type value);
44
48 VANILLAPDF_API error_type CALLING_CONVENTION RealObject_ToObject(RealObjectHandle* handle, ObjectHandle** result);
49
53 VANILLAPDF_API error_type CALLING_CONVENTION RealObject_FromObject(ObjectHandle* handle, RealObjectHandle** result);
54
58 VANILLAPDF_API error_type CALLING_CONVENTION RealObject_Release(RealObjectHandle* handle);
59
62#ifdef __cplusplus
63};
64#endif
65
66#endif /* _C_REAL_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.
Base class for syntactic tokens.
Real objects represent mathematical real numbers.
error_type CALLING_CONVENTION RealObject_FromObject(ObjectHandle *handle, RealObjectHandle **result)
Convert ObjectHandle to RealObjectHandle.
error_type CALLING_CONVENTION RealObject_ToObject(RealObjectHandle *handle, ObjectHandle **result)
Reinterpret current object as ObjectHandle.
error_type CALLING_CONVENTION RealObject_Create(RealObjectHandle **result)
Creates a new RealObject instance.
error_type CALLING_CONVENTION RealObject_Release(RealObjectHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION RealObject_GetValue(RealObjectHandle *handle, real_type *result)
Return objects contained real value.
error_type CALLING_CONVENTION RealObject_SetValue(RealObjectHandle *handle, real_type value)
Set objects new real value.
uint32_t error_type
This is return value type of all API functions.
Definition: c_types.h:25
double real_type
Floating point values.
Definition: c_types.h:41