3# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
4# if defined(STATIC_LINKED)
7# define SWIGEXPORT __declspec(dllexport)
10# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
11# define SWIGEXPORT __attribute__ ((visibility("default")))
20# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
21# define SWIGSTDCALL __stdcall
28 typedef void (*
LogCallback)(
void* ctx,
const char* text,
int length);
30 typedef void (*
CompleteCallback)(
void* ctx,
const char* input,
int input_length,
const char* output,
int output_length);
void(* CompleteCallback)(void *ctx, const char *input, int input_length, const char *output, int output_length)
Definition lib_manual.h:30
void(* LogCallback)(void *ctx, const char *text, int length)
Definition lib_manual.h:28
void SetTokenCallback(const void *ctx, TokenCallback tfn)
void(* TokenCallback)(void *ctx, const char *text, int length)
Definition lib_manual.h:29
void SetCompletionCallback(const void *ctx, CompleteCallback cfn)
void SetLogCallback(const void *ctx, LogCallback lfn)
#define SWIGSTDCALL
Definition lib_manual.h:23
#define SWIGEXPORT
Definition lib_manual.h:13