Vanilla.PDF  1.6.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
7
8#ifdef __cplusplus
9extern "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_Hash(const NameObjectHandle* handle, size_type* result);
55
59 VANILLAPDF_API error_type CALLING_CONVENTION NameObject_ToObject(NameObjectHandle* handle, ObjectHandle** result);
60
64 VANILLAPDF_API error_type CALLING_CONVENTION NameObject_FromObject(ObjectHandle* handle, NameObjectHandle** result);
65
69 VANILLAPDF_API error_type CALLING_CONVENTION NameObject_Release(NameObjectHandle* handle);
70
73#ifdef __cplusplus
74};
75#endif
76
77#endif /* _C_NAME_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.
Represents memory stored data.
A name object is an atomic symbol uniquely defined by a sequence of characters.
error_type CALLING_CONVENTION NameObject_Equals(const NameObjectHandle *handle, const NameObjectHandle *other, boolean_type *result)
Compares two name objects.
error_type CALLING_CONVENTION NameObject_Release(NameObjectHandle *handle)
Decrement the internal reference counter.
error_type CALLING_CONVENTION NameObject_Hash(const NameObjectHandle *handle, size_type *result)
Get object hash code.
error_type CALLING_CONVENTION NameObject_Create(NameObjectHandle **result)
Creates a new NameObject instance.
error_type CALLING_CONVENTION NameObject_ToObject(NameObjectHandle *handle, ObjectHandle **result)
Reinterpret current object as ObjectHandle.
error_type CALLING_CONVENTION NameObject_GetValue(const NameObjectHandle *handle, BufferHandle **result)
Get names binary representation.
error_type CALLING_CONVENTION NameObject_FromObject(ObjectHandle *handle, NameObjectHandle **result)
Convert ObjectHandle to NameObjectHandle.
error_type CALLING_CONVENTION NameObject_SetValue(NameObjectHandle *handle, BufferHandle *value)
Set names new 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
uint32_t size_type
Size type defined in standard library.
Definition: c_types.h:62