PDF SDK Documentation
Comprehensive Guide for Developers: Features, Integration, and API Reference
Loading...
Searching...
No Matches
atoms.h
Go to the documentation of this file.
1
// Copyright (c) 2009-2025 Avanquest Software. All rights reserved.
2
3
#ifndef PDFSDK_CORE_ATOMS_H_INCLUDED_
4
#define PDFSDK_CORE_ATOMS_H_INCLUDED_
5
10
11
#include <pdfsdk/core/api_macro.h>
12
#include <
pdfsdk/errors.h
>
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
18
typedef
int
PDAtom;
19
24
enum
{
25
kPDAtomNull = -1,
26
kPDAtomEmpty = 0,
27
28
#define PDF_ATOM_BUILTIN_(X) kPDAtom_##X,
29
#define PDF_ATOM_BUILTIN_V_(X, Name) kPDAtom_##X,
30
#include <pdfsdk/core/atom_builtins.inl>
31
#undef PDF_ATOM_BUILTIN_
32
#undef PDF_ATOM_BUILTIN_V_
33
};
34
35
PDF_CORE_API
PDErrCode
PDFSDK_CALLCONV PDAtomPutString(
const
char
*
string
, PDAtom* patom);
36
PDF_CORE_API
PDErrCode
PDFSDK_CALLCONV PDAtomGetString(PDAtom atom,
const
char
** pstring);
37
38
#ifdef __cplusplus
39
}
40
#endif
41
42
#endif
// PDFSDK_CORE_ATOMS_H_INCLUDED_
errors.h
Error codes.
PDErrCode
int32_t PDErrCode
Definition
errors.h:44