1#ifndef COM_CONFIG_MACROS_H_
2#define COM_CONFIG_MACROS_H_
5#define COMPDFKIT_DECL __declspec(dllexport)
7#define COMPDFKIT_DECL __attribute__((visibility("default")))
11#define COMPDFKIT_STRING const wchar_t*
13#define COMPDFKIT_STRING const char*
17#define CSDK_COMPDFKIT_CALL __stdcall
19#define CSDK_COMPDFKIT_CALL
bool(* COMOCRCallback)(const char *image_path, bool enable_ocr)
A callback function type for handling OCR operations on images.
Definition com_config_macros.h:31
void(* COMProgress)(int current_page, int total_page)
A callback function type for tracking the progress of a conversion process.
Definition com_config_macros.h:41
void * COMHANDLE
A generic handle type for managing various operations.
Definition com_config_macros.h:44