go-ph7/cgo.h

12 lines
447 B
C
Raw Normal View History

2022-11-25 07:56:56 +00:00
#include <stdlib.h>
#include "ph7.h"
int engine_config_err_log(ph7 *pEngine, const char **pzPtr, int *pLen);
int vm_extract_output(ph7_vm *pVm, const char **pzPtr, int *pLen);
extern int write_vm_output(void*, unsigned int, void*);
int vm_set_output_callback(ph7_vm *pVm, void *pUserData);
2022-11-27 04:45:16 +00:00
extern int call_foreign_function(ph7_context *pCtx, int argc, ph7_value **argv);
int vm_create_function(ph7_vm *pVm, const char *zName, void *pUserData);