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
11#include <pdfsdk/core/api_macro.h>
12#include <pdfsdk/errors.h>
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18typedef uint32_t PDAtom;
19
24enum {
25 kPDAtomNull = (uint32_t)-1,
26 kPDAtomEmpty = 0,
27
28#define PDF_ATOM_BUILTIN_(X) kPDAtom_##X,
29#include <pdfsdk/core/atom_builtins.inl>
30#undef PDF_ATOM_BUILTIN_
31};
32
33PDF_CORE_API PDErrCode PDFSDK_CALLCONV PDAtomPutString(const char* string, PDAtom* patom);
34PDF_CORE_API PDErrCode PDFSDK_CALLCONV PDAtomGetString(PDAtom atom, const char** pstring);
35
36#ifdef __cplusplus
37}
38#endif
39
40#endif // PDFSDK_CORE_ATOMS_H_INCLUDED_
Error codes.
int32_t PDErrCode
Definition errors.h:44