Vanilla.PDF  1.3.0
Cross-platform toolkit for creating and modifying PDF documents
c_name_object.h
Go to the documentation of this file.
1 #ifndef _C_NAME_OBJECT_H
2 #define _C_NAME_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 
34  VANILLAPDF_API error_type CALLING_CONVENTION NameObject_Create(NameObjectHandle** result);
35 
39  VANILLAPDF_API error_type CALLING_CONVENTION NameObject_GetValue(const NameObjectHandle* handle, BufferHandle** result);
40 
44  VANILLAPDF_API error_type CALLING_CONVENTION NameObject_SetValue(NameObjectHandle* handle, BufferHandle* value);
45 
49  VANILLAPDF_API error_type CALLING_CONVENTION NameObject_Equals(const NameObjectHandle* handle, const NameObjectHandle* other, boolean_type* result);
50 
54  VANILLAPDF_API error_type CALLING_CONVENTION NameObject_Release(NameObjectHandle* handle);
55 
58 #ifdef __cplusplus
59 };
60 #endif
61 
62 #endif /* _C_NAME_OBJECT_H */
error_type NameObject_GetValue(const NameObjectHandle *handle, BufferHandle **result)
Get names binary representation.
error_type NameObject_Equals(const NameObjectHandle *handle, const NameObjectHandle *other, boolean_type *result)
Compares two name objects.
This file contains all type forward declarations returned by the library API.
error_type NameObject_SetValue(NameObjectHandle *handle, BufferHandle *value)
Set names new value.
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 NameObject_Create(NameObjectHandle **result)
Creates a new NameObject instance.
error_type NameObject_Release(NameObjectHandle *handle)
Decrement the internal reference counter.
This file contains types and constants used as parameters or return values.
Represents memory stored data.
Represents unique name references in document.
int8_t boolean_type
Boolean type supported in C.
Definition: c_types.h:31