Vanilla.PDF  2.0.0
Cross-platform toolkit for creating and modifying PDF documents
c_errors.h
Go to the documentation of this file.
1#ifndef _C_ERRORS_H
2#define _C_ERRORS_H
3
7
8#ifdef __cplusplus
9extern "C"
10{
11#endif
12
36 VANILLAPDF_API error_type CALLING_CONVENTION Errors_GetLastError(error_type* result);
37
41 VANILLAPDF_API error_type CALLING_CONVENTION Errors_GetPrintableErrorTextLength(error_type value, size_type* size);
42
46 VANILLAPDF_API error_type CALLING_CONVENTION Errors_GetPrintableErrorText(error_type value, char* data, size_type size);
47
51 VANILLAPDF_API error_type CALLING_CONVENTION Errors_GetLastErrorMessageLength(size_type* result);
52
56 VANILLAPDF_API error_type CALLING_CONVENTION Errors_GetLastErrorMessage(char* data, size_type size);
57
60#ifdef __cplusplus
61};
62#endif
63
64#endif /* _C_ERRORS_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.
error_type CALLING_CONVENTION Errors_GetPrintableErrorText(error_type value, char *data, size_type size)
Obtain a human readable text of the error code including the trailing NULL character.
error_type CALLING_CONVENTION Errors_GetLastErrorMessageLength(size_type *result)
Obtain length of the additional error message including the trailing NULL character.
error_type CALLING_CONVENTION Errors_GetLastErrorMessage(char *data, size_type size)
Obtain the additional NULL terminated text message about the last error.
error_type CALLING_CONVENTION Errors_GetPrintableErrorTextLength(error_type value, size_type *size)
Get length of the name returned by Errors_GetPrintableErrorText including the trailing NULL character...
error_type CALLING_CONVENTION Errors_GetLastError(error_type *result)
Obtain the last error code that occurred.
uint32_t error_type
This is return value type of all API functions.
Definition c_types.h:25
uint32_t size_type
Size type defined in standard library.
Definition c_types.h:62