Vanilla.PDF  1.3.0
Cross-platform toolkit for creating and modifying PDF documents
Go to the documentation of this file.
1 #ifndef _C_ERRORS_H
2 #define _C_ERRORS_H
4 #include "vanillapdf/c_export.h"
5 #include "vanillapdf/c_handles.h"
6 #include "vanillapdf/c_values.h"
8 #ifdef __cplusplus
9 extern "C"
10 {
11 #endif
36  VANILLAPDF_API error_type CALLING_CONVENTION Errors_GetLastError(error_type* result);
41  VANILLAPDF_API error_type CALLING_CONVENTION Errors_GetPrintableErrorTextLength(error_type value, size_type* size);
46  VANILLAPDF_API error_type CALLING_CONVENTION Errors_GetPrintableErrorText(error_type value, char* data, size_type size);
51  VANILLAPDF_API error_type CALLING_CONVENTION Errors_GetLastErrorMessageLength(size_type* result);
56  VANILLAPDF_API error_type CALLING_CONVENTION Errors_GetLastErrorMessage(char* data, size_type size);
60 #ifdef __cplusplus
61 };
62 #endif
64 #endif /* _C_ERRORS_H */
error_type Errors_GetPrintableErrorText(error_type value, char *data, size_type size)
Obtain a human readable text of the error code including the trailing NULL character.
This file contains all type forward declarations returned by the library API.
uint32_t size_type
Size type defined in standard library.
Definition: c_types.h:62
error_type Errors_GetLastErrorMessage(char *data, size_type size)
Obtain the additional NULL terminated text message about the last error.
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 Errors_GetLastErrorMessageLength(size_type *result)
Obtain length of the additional error message including the trailing NULL character.
error_type Errors_GetPrintableErrorTextLength(error_type value, size_type *size)
Get length of the name returned by Errors_GetPrintableErrorText including the trailing NULL character...
This file contains types and constants used as parameters or return values.
error_type Errors_GetLastError(error_type *result)
Obtain the last error code that occurred.