13#include <libsaxon-eec-12.5.0.h>
17#if defined __linux__ || defined __APPLE__
25#define EXTERN_SAXONC extern "C" {
26#define EXTERN_SAXONC_END }
29#define EXTERN_SAXONC_END
42static const bool false = 0;
43static const bool true = 1;
55static const int SXN_EXCEPTION = -2;
56static const int SXN_UNSET = -1;
69extern char *resources_dir;
126typedef void *(*allocFn)(
size_t length);
128extern const char *failure;
200 const char *name,
const char *value);
void setParameter(sxnc_parameter **parameters, int *parLen, int *parCap, const char *name, sxnc_value *value)
Definition SaxonCGlue.c:160
char * _getResourceDirectory()
Definition SaxonCGlue.c:26
void setProperty(sxnc_property **properties, int *propLen, int *propCap, const char *name, const char *value)
Definition SaxonCGlue.c:186
void graal_tear_down(graal_isolatethread_t *thread)
Definition SaxonCGlue.c:125
const char * checkForException(sxnc_environment *environi)
Definition SaxonCGlue.c:120
int detach_graalvm_thread(sxnc_environment *env)
Definition SaxonCGlue.c:66
int c_createSaxonProcessor(sxnc_environment *environi, sxnc_processor *processor, int license)
Definition SaxonCGlue.c:103
int64_t createSaxonProcessor2(graal_isolatethread_t *thread, int license)
Definition SaxonCGlue.c:99
void clearSettings(sxnc_parameter **parameters, int *parLen, sxnc_property **properties, int *propLen)
Definition SaxonCGlue.c:215
int attach_graalvm_thread(sxnc_environment *env)
Definition SaxonCGlue.c:46
char * getProperty(sxnc_property *properties, int propLen, const char *name)
Definition SaxonCGlue.c:148
int create_graalvm_isolate(sxnc_environment *env)
Definition SaxonCGlue.c:31
int64_t getParameter(sxnc_parameter *parameters, int parLen, const char *name)
Definition SaxonCGlue.c:136
Definition SaxonCGlue.h:79
graal_isolatethread_t * thread
pointer to the current GraalVM isolate thread
Definition SaxonCGlue.h:81
graal_isolate_t * isolate
Structure representing a GraalVM isolate.
Definition SaxonCGlue.h:80
graal_isolatethread_t * mainthread
pointer to the main GraalVM isolate thread
Definition SaxonCGlue.h:82
Definition SaxonCGlue.h:91
char * name
The parameter name.
Definition SaxonCGlue.h:92
int64_t value
Definition SaxonCGlue.h:93
Definition SaxonCGlue.h:120
int64_t value
The ObjectHandle of the processor object.
Definition SaxonCGlue.h:121
Definition SaxonCGlue.h:104
char * value
Definition SaxonCGlue.h:106
char * name
The property name.
Definition SaxonCGlue.h:105
Definition SaxonCGlue.h:113
int64_t xdmvalue
Definition SaxonCGlue.h:114