#include <SWI-Prolog.h>
#include <SWI-Stream.h>
#include <jni.h>
#include <stdlib.h>
#include <ctype.h>
#include <errno.h>
#include <string.h>
#include <pthread.h>
#include <semaphore.h>
#include <limits.h>
Go to the source code of this file.
Classes | |
struct | Hr_Entry |
struct | Hr_Table |
Defines | |
#define | DEBUG(n, g) ( n >= DEBUG_LEVEL ? g : (void)0 ) |
#define | DEBUG_LEVEL 3 |
#define | IREF_FMT "J#%020lu" |
#define | IREF_INTTYPE unsigned long |
#define | JNI_charP_to_term(J, T) PL_unify_atom_chars((T),(J)) |
#define | jni_ensure_jvm() |
#define | JNI_HR_ADD_FAIL -1 |
#define | JNI_HR_ADD_NEW 0 |
#define | JNI_HR_ADD_OLD 1 |
#define | JNI_HR_LOAD_FACTOR 0.75 |
#define | JNI_jboolean_to_term(J, T) |
#define | JNI_jbuf_to_term(J, T, TP) |
#define | JNI_jbyte_to_term(J, T) PL_unify_integer((T),(int)(J)) |
#define | JNI_jchar_to_term(J, T) PL_unify_integer((T),(int)(J)) |
#define | JNI_jdouble_to_term(J, T) PL_unify_float((T),(double)(J)) |
#define | JNI_jfieldID_to_term(J, T) |
#define | JNI_jfloat_to_term(J, T) PL_unify_float((T),(double)(J)) |
#define | JNI_jint_to_term(J, T) PL_unify_integer((T),(int)(J)) |
#define | JNI_jlong_to_term(J, T) PL_unify_int64((T),(int64_t)(J)) |
#define | JNI_jmethodID_to_term(J, T) |
#define | JNI_jobject_to_term(J, T) |
#define | JNI_jshort_to_term(J, T) PL_unify_integer((T),(int)(J)) |
#define | JNI_MAX_JBYTE 127 |
#define | JNI_MAX_JCHAR 65535 |
#define | JNI_MAX_JSHORT 32767 |
#define | JNI_MIN_JBYTE -128 |
#define | JNI_MIN_JCHAR 0 |
#define | JNI_MIN_JSHORT -32768 |
#define | JNI_pointer_to_term(J, T) PL_unify_pointer((T),(void*)(J)) |
#define | JNI_term_to_boolean_jarray(T, J) JNI_term_to_jobject(T,J) |
#define | JNI_term_to_byte_jarray(T, J) JNI_term_to_jobject(T,J) |
#define | JNI_term_to_char_jarray(T, J) JNI_term_to_jobject(T,J) |
#define | JNI_term_to_charP(T, J) PL_get_atom_chars((T),&(J)) |
#define | JNI_term_to_double_jarray(T, J) JNI_term_to_jobject(T,J) |
#define | JNI_term_to_float_jarray(T, J) JNI_term_to_jobject(T,J) |
#define | JNI_term_to_int_jarray(T, J) JNI_term_to_jobject(T,J) |
#define | JNI_term_to_jarray(T, J) JNI_term_to_jobject(T,J) |
#define | JNI_term_to_jboolean(T, JB) |
#define | JNI_term_to_jbuf(T, J, TP) |
#define | JNI_term_to_jbyte(T, J) |
#define | JNI_term_to_jchar(T, J) |
#define | JNI_term_to_jclass(T, J) JNI_term_to_jobject(T,J) |
#define | JNI_term_to_jdouble(T, J) |
#define | JNI_term_to_jfieldID(T, J) |
#define | JNI_term_to_jfloat(T, J) |
#define | JNI_term_to_jint(T, J) |
#define | JNI_term_to_jlong(T, J) |
#define | JNI_term_to_jmethodID(T, J) |
#define | JNI_term_to_jobject(T, J) |
#define | JNI_term_to_jshort(T, J) |
#define | JNI_term_to_jstring(T, J) JNI_term_to_jobject(T,J) |
#define | JNI_term_to_long_jarray(T, J) JNI_term_to_jobject(T,J) |
#define | JNI_term_to_non_array_jclass(T, J) JNI_term_to_jobject(T,J) |
#define | JNI_term_to_non_neg_jint(T, J) |
#define | JNI_term_to_object_jarray(T, J) JNI_term_to_jobject(T,J) |
#define | JNI_term_to_pointer(T, J) PL_get_pointer((T),(void**)&(J)) |
#define | JNI_term_to_ref(T, J) |
#define | JNI_term_to_short_jarray(T, J) JNI_term_to_jobject(T,J) |
#define | JNI_term_to_throwable_jclass(T, J) JNI_term_to_jobject(T,J) |
#define | JNI_term_to_throwable_jobject(T, J) JNI_term_to_jobject(T,J) |
#define | JNI_unify_false(T) |
#define | JNI_unify_true(T) |
#define | JNI_unify_void(T) |
#define | JNI_XPUT_ATOM 13 |
#define | JNI_XPUT_BOOLEAN 1 |
#define | JNI_XPUT_BYTE 2 |
#define | JNI_XPUT_CHAR 3 |
#define | JNI_XPUT_DOUBLE 8 |
#define | JNI_XPUT_FLOAT 7 |
#define | JNI_XPUT_FLOAT_TO_DOUBLE 9 |
#define | JNI_XPUT_INT 5 |
#define | JNI_XPUT_JVALUE 15 |
#define | JNI_XPUT_JVALUEP 14 |
#define | JNI_XPUT_LONG 6 |
#define | JNI_XPUT_LONG_TO_DOUBLE 11 |
#define | JNI_XPUT_LONG_TO_FLOAT 10 |
#define | JNI_XPUT_REF 12 |
#define | JNI_XPUT_SHORT 4 |
#define | JNI_XPUT_VOID 0 |
#define | JPL_C_LIB_VERSION "3.1.4-alpha" |
#define | JPL_C_LIB_VERSION_MAJOR 3 |
#define | JPL_C_LIB_VERSION_MINOR 1 |
#define | JPL_C_LIB_VERSION_PATCH 4 |
#define | JPL_C_LIB_VERSION_STATUS "alpha" |
#define | JPL_CACHE_TYPE_OF_REF FALSE |
#define | jpl_ensure_jpl_init(e) |
#define | jpl_ensure_pvm_init(e) |
#define | JPL_INIT_JPL_FAILED 104 |
#define | JPL_INIT_OK 103 |
#define | JPL_INIT_PVM_FAILED 105 |
#define | JPL_INIT_PVM_MAYBE 102 |
#define | JPL_INIT_RAW 101 |
#define | JPL_INITIAL_POOL_ENGINES 1 |
#define | JPL_MAX_POOL_ENGINES 10 |
#define | MAX_JVM_OPTIONS 100 |
Typedefs | |
typedef int | bool |
typedef struct Hr_Entry | HrEntry |
typedef struct Hr_Table | HrTable |
typedef intptr_t | pointer |
Functions | |
static int | create_pool_engines () |
static int | current_pool_engine () |
static int | current_pool_engine_handle (PL_engine_t *e) |
static bool | getLongValue (JNIEnv *env, jobject jlong_holder, long *lv) |
static bool | getPointerValue (JNIEnv *env, jobject jpointer_holder, pointer *pv) |
install_t | install () |
JNIEXPORT int JNICALL | Java_jpl_fli_Prolog_action_1abort (JNIEnv *env, jclass jProlog) |
JNIEXPORT jstring JNICALL | Java_jpl_fli_Prolog_atom_1chars (JNIEnv *env, jclass jProlog, jobject jatom) |
JNIEXPORT int JNICALL | Java_jpl_fli_Prolog_attach_1engine (JNIEnv *env, jclass jProlog, jobject jengine) |
JNIEXPORT jobject JNICALL | Java_jpl_fli_Prolog_attach_1pool_1engine (JNIEnv *env, jclass jProlog) |
JNIEXPORT void JNICALL | Java_jpl_fli_Prolog_close_1query (JNIEnv *env, jclass jProlog, jobject jqid) |
JNIEXPORT jint JNICALL | Java_jpl_fli_Prolog_compare (JNIEnv *env, jclass jProlog, jobject jterm1, jobject jterm2) |
JNIEXPORT void JNICALL | Java_jpl_fli_Prolog_cons_1functor_1v (JNIEnv *env, jclass jProlog, jobject jterm, jobject jfunctor, jobject jterm0) |
JNIEXPORT jobject JNICALL | Java_jpl_fli_Prolog_copy_1term_1ref (JNIEnv *env, jclass jProlog, jobject jfrom) |
JNIEXPORT jobject JNICALL | Java_jpl_fli_Prolog_current_1engine (JNIEnv *env, jclass jProlog) |
JNIEXPORT jboolean JNICALL | Java_jpl_fli_Prolog_current_1engine_1is_1pool (JNIEnv *env, jclass jProlog) |
JNIEXPORT void JNICALL | Java_jpl_fli_Prolog_discard_1foreign_1frame (JNIEnv *env, jclass jProlog, jobject jfid) |
JNIEXPORT jobject JNICALL | Java_jpl_fli_Prolog_exception (JNIEnv *env, jclass jProlog, jobject jqid) |
JNIEXPORT jobject JNICALL | Java_jpl_fli_Prolog_get_1actual_1init_1args (JNIEnv *env, jclass jProlog) |
JNIEXPORT jboolean JNICALL | Java_jpl_fli_Prolog_get_1arg (JNIEnv *env, jclass jProlog, jint jindex, jobject jterm, jobject jarg) |
JNIEXPORT jboolean JNICALL | Java_jpl_fli_Prolog_get_1atom_1chars (JNIEnv *env, jclass jProlog, jobject jterm, jobject jstring_holder) |
JNIEXPORT jobject JNICALL | Java_jpl_fli_Prolog_get_1c_1lib_1version (JNIEnv *env, jclass jProlog) |
JNIEXPORT jobject JNICALL | Java_jpl_fli_Prolog_get_1default_1init_1args (JNIEnv *env, jclass jProlog) |
JNIEXPORT jboolean JNICALL | Java_jpl_fli_Prolog_get_1float (JNIEnv *env, jclass jProlog, jobject jterm, jobject jdouble_holder) |
JNIEXPORT jboolean JNICALL | Java_jpl_fli_Prolog_get_1integer (JNIEnv *env, jclass jProlog, jobject jterm, jobject jint64_holder) |
JNIEXPORT jboolean JNICALL | Java_jpl_fli_Prolog_get_1name_1arity (JNIEnv *env, jclass jProlog, jobject jterm, jobject jname_holder, jobject jarity_holder) |
JNIEXPORT jboolean JNICALL | Java_jpl_fli_Prolog_get_1string_1chars (JNIEnv *env, jclass jProlog, jobject jterm, jobject jstring_holder) |
JNIEXPORT void JNICALL | Java_jpl_fli_Prolog_halt (JNIEnv *env, jclass jProlog, jint jstatus) |
JNIEXPORT jboolean JNICALL | Java_jpl_fli_Prolog_initialise (JNIEnv *env, jclass jProlog) |
JNIEXPORT jboolean JNICALL | Java_jpl_fli_Prolog_is_1tag (JNIEnv *env, jclass jProlog, jstring tag) |
JNIEXPORT jobject JNICALL | Java_jpl_fli_Prolog_new_1atom (JNIEnv *env, jclass jProlog, jstring jname) |
JNIEXPORT jobject JNICALL | Java_jpl_fli_Prolog_new_1functor (JNIEnv *env, jclass jProlog, jobject jatom, jint jarity) |
JNIEXPORT jobject JNICALL | Java_jpl_fli_Prolog_new_1module (JNIEnv *env, jclass jProlog, jobject jatom) |
JNIEXPORT jobject JNICALL | Java_jpl_fli_Prolog_new_1term_1ref (JNIEnv *env, jclass jProlog) |
JNIEXPORT jobject JNICALL | Java_jpl_fli_Prolog_new_1term_1refs (JNIEnv *env, jclass jProlog, jint jn) |
JNIEXPORT jboolean JNICALL | Java_jpl_fli_Prolog_next_1solution (JNIEnv *env, jclass jProlog, jobject jqid) |
JNIEXPORT jobject JNICALL | Java_jpl_fli_Prolog_object_1to_1tag (JNIEnv *env, jclass jProlog, jobject jobj) |
JNIEXPORT jobject JNICALL | Java_jpl_fli_Prolog_open_1foreign_1frame (JNIEnv *env, jclass jProlog) |
JNIEXPORT jobject JNICALL | Java_jpl_fli_Prolog_open_1query (JNIEnv *env, jclass jProlog, jobject jmodule, jint jflags, jobject jpredicate, jobject jterm0) |
JNIEXPORT int JNICALL | Java_jpl_fli_Prolog_pool_1engine_1id (JNIEnv *env, jclass jProlog, jobject jengine) |
JNIEXPORT jobject JNICALL | Java_jpl_fli_Prolog_predicate (JNIEnv *env, jclass jProlog, jstring jname, jint jarity, jstring jmodule) |
JNIEXPORT void JNICALL | Java_jpl_fli_Prolog_put_1float (JNIEnv *env, jclass jProlog, jobject jterm, jdouble jf) |
JNIEXPORT void JNICALL | Java_jpl_fli_Prolog_put_1integer (JNIEnv *env, jclass jProlog, jobject jterm, jlong ji) |
JNIEXPORT void JNICALL | Java_jpl_fli_Prolog_put_1jref (JNIEnv *env, jclass jProlog, jobject jterm, jobject jref) |
JNIEXPORT void JNICALL | Java_jpl_fli_Prolog_put_1term (JNIEnv *env, jclass jProlog, jobject jterm1, jobject jterm2) |
JNIEXPORT void JNICALL | Java_jpl_fli_Prolog_put_1variable (JNIEnv *env, jclass jProlog, jobject jterm) |
JNIEXPORT int JNICALL | Java_jpl_fli_Prolog_release_1pool_1engine (JNIEnv *env, jclass jProlog) |
JNIEXPORT jboolean JNICALL | Java_jpl_fli_Prolog_set_1default_1init_1args (JNIEnv *env, jclass jProlog, jobject jargs) |
JNIEXPORT jobject JNICALL | Java_jpl_fli_Prolog_tag_1to_1object (JNIEnv *env, jclass jProlog, jstring tag) |
JNIEXPORT jint JNICALL | Java_jpl_fli_Prolog_term_1type (JNIEnv *env, jclass jProlog, jobject jterm) |
JNIEXPORT jint JNICALL | Java_jpl_fli_Prolog_thread_1self (JNIEnv *env, jclass jProlog) |
JNIEXPORT void JNICALL | Java_jpl_fli_Prolog_unregister_1atom (JNIEnv *env, jclass jProlog, jobject jatom) |
static foreign_t | jni_alloc_buffer_plc (term_t txc, term_t tlen, term_t tbp) |
static bool | jni_atom_freed (atom_t a) |
static bool | jni_atom_to_String (JNIEnv *env, atom_t a, jobject *s) |
static foreign_t | jni_byte_buf_length_to_codes_plc (term_t tbb, term_t tlen, term_t tcs) |
static bool | jni_check_exception (JNIEnv *env) |
int | jni_create_default_jvm () |
static int | jni_create_jvm (char *cp) |
static int | jni_create_jvm_c (char *classpath) |
static foreign_t | jni_ensure_jvm_plc () |
JNIEnv * | jni_env () |
static foreign_t | jni_fetch_buffer_value_plc (term_t tbp, term_t ti, term_t tv, term_t txc) |
static foreign_t | jni_free_buffer_plc (term_t tbp) |
static bool | jni_free_iref (JNIEnv *env, pointer iref) |
static foreign_t | jni_func_0_plc (term_t tn, term_t tr) |
static foreign_t | jni_func_1_plc (term_t tn, term_t ta1, term_t tr) |
static foreign_t | jni_func_2_plc (term_t tn, term_t ta1, term_t ta2, term_t tr) |
static foreign_t | jni_func_3_plc (term_t tn, term_t ta1, term_t ta2, term_t ta3, term_t tr) |
static foreign_t | jni_func_4_plc (term_t tn, term_t ta1, term_t ta2, term_t ta3, term_t ta4, term_t tr) |
static foreign_t | jni_get_actual_jvm_opts_plc (term_t args) |
static int | jni_get_created_jvm_count () |
static foreign_t | jni_get_created_jvm_count_plc (term_t t1) |
static bool | jni_get_default_jvm_opts_1 (term_t args, int i, char **jvm_xia) |
static foreign_t | jni_get_default_jvm_opts_plc (term_t args) |
static foreign_t | jni_get_jvm_opts (term_t args, char **jvm_xia) |
static int | jni_hr_add (JNIEnv *, jobject, pointer *) |
static bool | jni_hr_create (int length) |
static bool | jni_hr_create_default () |
static int | jni_hr_del (JNIEnv *, pointer) |
static void | jni_hr_free_chain_entries (HrEntry *ep) |
static bool | jni_hr_free_table (HrTable *t) |
static void | jni_hr_free_table_chains (HrTable *t) |
static bool | jni_hr_hash (JNIEnv *env, jobject obj, int *hash) |
static foreign_t | jni_hr_info_plc (term_t t1, term_t t2, term_t t3, term_t t4) |
static bool | jni_hr_rehash () |
static foreign_t | jni_hr_table_plc (term_t t) |
static bool | jni_hr_table_slot (term_t t2, HrEntry *slot) |
static int | jni_init () |
static bool | jni_iref_to_tag (pointer iref, atom_t *a) |
static bool | jni_jobject_to_term_byval (JNIEnv *env, jobject jobj, term_t term) |
static foreign_t | jni_jref_to_term_plc (term_t jref, term_t termIn) |
static term_t | jni_new_java_exception (atom_t tag, atom_t msg) |
static term_t | jni_new_jpl_error (atom_t tag, atom_t msg) |
static bool | jni_object_to_iref (JNIEnv *env, jobject obj, pointer *iref) |
static foreign_t | jni_param_put_plc (term_t tn, term_t txc, term_t tt, term_t tjvp) |
static foreign_t | jni_set_default_jvm_opts_plc (term_t tn, term_t args) |
static foreign_t | jni_stash_buffer_value_plc (term_t tbp, term_t ti, term_t tv, term_t txc) |
static bool | jni_String_to_atom (JNIEnv *env, jobject s, atom_t *a) |
static bool | jni_string_to_String (JNIEnv *env, term_t t, jobject *s) |
static bool | jni_tag_to_iref (atom_t a, pointer *iref) |
static bool | jni_tag_to_iref1 (const char *s, pointer *iref) |
static bool | jni_tag_to_iref2 (const char *s, pointer *iref) |
static foreign_t | jni_tag_to_iref_plc (term_t tt, term_t ti) |
static foreign_t | jni_term_to_jref_plc (term_t tref1, term_t tref2) |
static bool | jni_tidy_iref_type_cache (pointer iref) |
static foreign_t | jni_void_0_plc (term_t tn) |
static foreign_t | jni_void_1_plc (term_t tn, term_t ta1) |
static foreign_t | jni_void_2_plc (term_t tn, term_t ta1, term_t ta2) |
static foreign_t | jni_void_3_plc (term_t tn, term_t ta1, term_t ta2, term_t ta3) |
static foreign_t | jni_void_4_plc (term_t tn, term_t ta1, term_t ta2, term_t ta3, term_t ta4) |
static char * | jpl_c_lib_version () |
static foreign_t | jpl_c_lib_version_1_plc (term_t ta) |
static foreign_t | jpl_c_lib_version_4_plc (term_t tmajor, term_t tminor, term_t tpatch, term_t tstatus) |
static bool | jpl_do_jpl_init (JNIEnv *env) |
static bool | jpl_do_pvm_init (JNIEnv *env) |
static bool | jpl_ensure_jpl_init_1 (JNIEnv *env) |
static bool | jpl_ensure_pvm_init_1 (JNIEnv *env) |
static int | jpl_num_initial_default_args () |
static bool | jpl_post_pvm_init (JNIEnv *env, int argc, char **argv) |
static bool | jpl_test_pvm_init (JNIEnv *env) |
static int | pool_engine_id (PL_engine_t e) |
static bool | setDoubleValue (JNIEnv *env, jobject jdouble_holder, jdouble dv) |
static bool | setIntValue (JNIEnv *env, jobject jint_holder, jint iv) |
static bool | setLongValue (JNIEnv *env, jobject jlong_holder, jlong lv) |
static bool | setPointerValue (JNIEnv *env, jobject jpointer_holder, pointer pv) |
static bool | setStringValue (JNIEnv *env, jobject jstring_holder, jstring sv) |
Variables | |
static jclass | c_class |
static jmethodID | c_getName |
const char * | default_args [] |
static PL_engine_t * | engines = NULL |
static int | engines_allocated = 0 |
static pthread_cond_t | engines_cond = PTHREAD_COND_INITIALIZER |
static pthread_mutex_t | engines_mutex = PTHREAD_MUTEX_INITIALIZER |
static int | hr_add_count = 0 |
static int | hr_del_count = 0 |
static int | hr_old_count = 0 |
static HrTable * | hr_table = NULL |
static jclass | jAtomT_c |
static jclass | jBooleanHolder_c |
static jfieldID | jBooleanHolderValue_f |
static jclass | jDoubleHolder_c |
static jfieldID | jDoubleHolderValue_f |
static jclass | jEngineT_c |
static jclass | jFidT_c |
static jclass | jFunctorT_c |
static jclass | jInt64Holder_c |
static jfieldID | jInt64HolderValue_f |
static jclass | jIntHolder_c |
static jfieldID | jIntHolderValue_f |
static jclass | jJPLException_c |
static jclass | jLongHolder_c |
static jfieldID | jLongHolderValue_f |
static jclass | jModuleT_c |
static atom_t | JNI_atom_boolean |
static atom_t | JNI_atom_byte |
static atom_t | JNI_atom_char |
static atom_t | JNI_atom_double |
static atom_t | JNI_atom_false |
static atom_t | JNI_atom_float |
static atom_t | JNI_atom_int |
static atom_t | JNI_atom_long |
static atom_t | JNI_atom_null |
static atom_t | JNI_atom_short |
static atom_t | JNI_atom_true |
static atom_t | JNI_atom_void |
static functor_t | JNI_functor_at_1 |
static functor_t | JNI_functor_error_2 |
static functor_t | JNI_functor_java_exception_1 |
static functor_t | JNI_functor_jbuf_2 |
static functor_t | JNI_functor_jfieldID_1 |
static functor_t | JNI_functor_jlong_2 |
static functor_t | JNI_functor_jmethodID_1 |
static functor_t | JNI_functor_jpl_error_1 |
static jclass | jObjectHolder_c |
static jfieldID | jObjectHolderValue_f |
static int | jpl_status = JPL_INIT_RAW |
static jclass | jPointerHolder_c |
static jfieldID | jPointerHolderValue_f |
static jclass | jPredicateT_c |
static jclass | jQidT_c |
static jclass | jString_c |
static jclass | jStringHolder_c |
static jfieldID | jStringHolderValue_f |
static jclass | jTermT_c |
static JavaVM * | jvm = NULL |
static char ** | jvm_aia = NULL |
static char ** | jvm_dia = jvm_ia |
static char * | jvm_ia [2] = {"-Xrs", NULL} |
static pthread_mutex_t | jvm_init_mutex = PTHREAD_MUTEX_INITIALIZER |
static PL_extension | predspecs [] |
static jobject | pvm_aia = NULL |
static jobject | pvm_dia = NULL |
static pthread_mutex_t | pvm_init_mutex = PTHREAD_MUTEX_INITIALIZER |
int | size [16] |
static jclass | str_class |
static jclass | sys_class |
static jmethodID | sys_ihc |
static jclass | term_class |
static jmethodID | term_getTerm |
static jmethodID | term_put |
static jmethodID | term_putTerm |
static jclass | termt_class |
#define JNI_charP_to_term | ( | J, | |||
T | ) | PL_unify_atom_chars((T),(J)) |
#define jni_ensure_jvm | ( | ) |
( ( jvm != NULL \ || jni_create_default_jvm() \ ) \ && (env=jni_env()) != NULL \ )
#define JNI_jboolean_to_term | ( | J, | |||
T | ) |
( (J)==0 \ ? JNI_unify_false((T)) \ : JNI_unify_true((T)) \ )
#define JNI_jbuf_to_term | ( | J, | |||
T, | |||||
TP | ) |
PL_unify_term((T), \ PL_FUNCTOR, JNI_functor_jbuf_2, \ PL_POINTER, (void*)(J), \ PL_ATOM, (TP) \ )
#define JNI_jbyte_to_term | ( | J, | |||
T | ) | PL_unify_integer((T),(int)(J)) |
#define JNI_jchar_to_term | ( | J, | |||
T | ) | PL_unify_integer((T),(int)(J)) |
#define JNI_jdouble_to_term | ( | J, | |||
T | ) | PL_unify_float((T),(double)(J)) |
#define JNI_jfieldID_to_term | ( | J, | |||
T | ) |
PL_unify_term((T), \ PL_FUNCTOR, JNI_functor_jfieldID_1, \ PL_POINTER, (void*)(J) \ )
#define JNI_jfloat_to_term | ( | J, | |||
T | ) | PL_unify_float((T),(double)(J)) |
#define JNI_jint_to_term | ( | J, | |||
T | ) | PL_unify_integer((T),(int)(J)) |
#define JNI_jlong_to_term | ( | J, | |||
T | ) | PL_unify_int64((T),(int64_t)(J)) |
#define JNI_jmethodID_to_term | ( | J, | |||
T | ) |
PL_unify_term((T), \ PL_FUNCTOR, JNI_functor_jmethodID_1, \ PL_POINTER, (void*)(J) \ )
#define JNI_jobject_to_term | ( | J, | |||
T | ) |
( ( j=(J), j==NULL ) \ ? PL_unify_term((T), \ PL_FUNCTOR, JNI_functor_at_1, \ PL_ATOM, JNI_atom_null \ ) \ : ( (*env)->IsInstanceOf(env,j,str_class) \ ? jni_String_to_atom(env,j,&a) \ && PL_unify_term((T), \ PL_ATOM, a \ ) \ : jni_object_to_iref(env,j,&i) \ && jni_iref_to_tag(i,&a) \ && PL_unify_term((T), \ PL_FUNCTOR, JNI_functor_at_1, \ PL_ATOM, a \ ) \ ) \ )
#define JNI_jshort_to_term | ( | J, | |||
T | ) | PL_unify_integer((T),(int)(J)) |
#define JNI_pointer_to_term | ( | J, | |||
T | ) | PL_unify_pointer((T),(void*)(J)) |
#define JNI_term_to_boolean_jarray | ( | T, | |||
J | ) | JNI_term_to_jobject(T,J) |
#define JNI_term_to_byte_jarray | ( | T, | |||
J | ) | JNI_term_to_jobject(T,J) |
#define JNI_term_to_char_jarray | ( | T, | |||
J | ) | JNI_term_to_jobject(T,J) |
#define JNI_term_to_charP | ( | T, | |||
J | ) | PL_get_atom_chars((T),&(J)) |
#define JNI_term_to_double_jarray | ( | T, | |||
J | ) | JNI_term_to_jobject(T,J) |
#define JNI_term_to_float_jarray | ( | T, | |||
J | ) | JNI_term_to_jobject(T,J) |
#define JNI_term_to_int_jarray | ( | T, | |||
J | ) | JNI_term_to_jobject(T,J) |
#define JNI_term_to_jboolean | ( | T, | |||
JB | ) |
( PL_get_functor((T),&fn) \ && fn==JNI_functor_at_1 \ ? ( ( a1=PL_new_term_ref(), \ PL_get_arg(1,(T),a1) \ ) \ && PL_get_atom(a1,&a) \ ? ( a==JNI_atom_false \ ? ( (JB)=0, TRUE) \ : ( a==JNI_atom_true \ ? ( (JB)=1, TRUE) \ : FALSE \ ) \ ) \ : FALSE \ ) \ : FALSE \ )
#define JNI_term_to_jbuf | ( | T, | |||
J, | |||||
TP | ) |
( PL_get_functor((T),&fn) \ && fn==JNI_functor_jbuf_2 \ && ( a2=PL_new_term_ref(), \ PL_get_arg(2,(T),a2) \ ) \ && PL_get_atom(a2,&a) \ && a==(TP) \ && ( a1=PL_new_term_ref(), \ PL_get_arg(1,(T),a1) \ ) \ && PL_get_pointer(a1,(void**)&(J)) \ )
#define JNI_term_to_jbyte | ( | T, | |||
J | ) |
( PL_get_integer((T),&i) \ && i >= JNI_MIN_JBYTE \ && i <= JNI_MAX_JBYTE \ && ( (J)=(jbyte)i, TRUE) \ )
#define JNI_term_to_jchar | ( | T, | |||
J | ) |
( PL_get_integer((T),&i) \ && i >= JNI_MIN_JCHAR \ && i <= JNI_MAX_JCHAR \ && ( (J)=(jchar)i, TRUE) \ )
#define JNI_term_to_jdouble | ( | T, | |||
J | ) |
#define JNI_term_to_jfieldID | ( | T, | |||
J | ) |
( PL_get_functor((T),&fn) \ && fn==JNI_functor_jfieldID_1 \ && ( a1=PL_new_term_ref(), \ PL_get_arg(1,(T),a1) \ ) \ && PL_get_pointer(a1,(void**)&(J)) \ )
#define JNI_term_to_jfloat | ( | T, | |||
J | ) |
#define JNI_term_to_jint | ( | T, | |||
J | ) |
#define JNI_term_to_jlong | ( | T, | |||
J | ) |
#define JNI_term_to_jmethodID | ( | T, | |||
J | ) |
( PL_get_functor((T),&fn) \ && fn==JNI_functor_jmethodID_1 \ && ( a1=PL_new_term_ref(), \ PL_get_arg(1,(T),a1) \ ) \ && PL_get_pointer(a1,(void**)&(J)) \ )
#define JNI_term_to_jobject | ( | T, | |||
J | ) |
( JNI_term_to_ref(T,J) \ && (J) != 0 \ )
#define JNI_term_to_jshort | ( | T, | |||
J | ) |
( PL_get_integer((T),&i) \ && i >= JNI_MIN_JSHORT \ && i <= JNI_MAX_JSHORT \ && ( (J)=(jshort)i, TRUE) \ )
#define JNI_term_to_long_jarray | ( | T, | |||
J | ) | JNI_term_to_jobject(T,J) |
#define JNI_term_to_non_array_jclass | ( | T, | |||
J | ) | JNI_term_to_jobject(T,J) |
#define JNI_term_to_non_neg_jint | ( | T, | |||
J | ) |
#define JNI_term_to_object_jarray | ( | T, | |||
J | ) | JNI_term_to_jobject(T,J) |
#define JNI_term_to_pointer | ( | T, | |||
J | ) | PL_get_pointer((T),(void**)&(J)) |
#define JNI_term_to_ref | ( | T, | |||
J | ) |
( PL_get_atom((T),&a) \ ? jni_atom_to_String(env,a,(jobject*)&(J)) \ : PL_get_functor((T),&fn) \ && fn==JNI_functor_at_1 \ && ( a1=PL_new_term_ref(), \ PL_get_arg(1,(T),a1) \ ) \ && PL_get_atom(a1,&a) \ && ( a==JNI_atom_null \ ? ( (J)=0, TRUE) \ : jni_tag_to_iref(a,(pointer*)&(J)) \ ) \ )
#define JNI_term_to_short_jarray | ( | T, | |||
J | ) | JNI_term_to_jobject(T,J) |
#define JNI_term_to_throwable_jclass | ( | T, | |||
J | ) | JNI_term_to_jobject(T,J) |
#define JNI_term_to_throwable_jobject | ( | T, | |||
J | ) | JNI_term_to_jobject(T,J) |
#define JNI_unify_false | ( | T | ) |
PL_unify_term((T), \ PL_FUNCTOR, JNI_functor_at_1, \ PL_ATOM, JNI_atom_false \ )
#define JNI_unify_true | ( | T | ) |
PL_unify_term((T), \ PL_FUNCTOR, JNI_functor_at_1, \ PL_ATOM, JNI_atom_true \ )
#define JNI_unify_void | ( | T | ) |
PL_unify_term((T), \ PL_FUNCTOR, JNI_functor_at_1, \ PL_ATOM, JNI_atom_void \ )
#define jpl_ensure_jpl_init | ( | e | ) |
( jpl_status != JPL_INIT_RAW \ || jpl_ensure_jpl_init_1(e) \ )
#define jpl_ensure_pvm_init | ( | e | ) |
( jpl_status == JPL_INIT_OK \ || jpl_ensure_pvm_init_1(e) \ )
static int current_pool_engine_handle | ( | PL_engine_t * | e | ) | [static] |
static bool getLongValue | ( | JNIEnv * | env, | |
jobject | jlong_holder, | |||
long * | lv | |||
) | [static] |
JNIEXPORT int JNICALL Java_jpl_fli_Prolog_action_1abort | ( | JNIEnv * | env, | |
jclass | jProlog | |||
) |
JNIEXPORT jstring JNICALL Java_jpl_fli_Prolog_atom_1chars | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jatom | |||
) |
JNIEXPORT int JNICALL Java_jpl_fli_Prolog_attach_1engine | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jengine | |||
) |
JNIEXPORT jobject JNICALL Java_jpl_fli_Prolog_attach_1pool_1engine | ( | JNIEnv * | env, | |
jclass | jProlog | |||
) |
JNIEXPORT void JNICALL Java_jpl_fli_Prolog_close_1query | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jqid | |||
) |
JNIEXPORT jint JNICALL Java_jpl_fli_Prolog_compare | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jterm1, | |||
jobject | jterm2 | |||
) |
JNIEXPORT void JNICALL Java_jpl_fli_Prolog_cons_1functor_1v | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jterm, | |||
jobject | jfunctor, | |||
jobject | jterm0 | |||
) |
JNIEXPORT jobject JNICALL Java_jpl_fli_Prolog_copy_1term_1ref | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jfrom | |||
) |
JNIEXPORT jobject JNICALL Java_jpl_fli_Prolog_current_1engine | ( | JNIEnv * | env, | |
jclass | jProlog | |||
) |
JNIEXPORT jboolean JNICALL Java_jpl_fli_Prolog_current_1engine_1is_1pool | ( | JNIEnv * | env, | |
jclass | jProlog | |||
) |
JNIEXPORT void JNICALL Java_jpl_fli_Prolog_discard_1foreign_1frame | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jfid | |||
) |
JNIEXPORT jobject JNICALL Java_jpl_fli_Prolog_exception | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jqid | |||
) |
JNIEXPORT jobject JNICALL Java_jpl_fli_Prolog_get_1actual_1init_1args | ( | JNIEnv * | env, | |
jclass | jProlog | |||
) |
JNIEXPORT jboolean JNICALL Java_jpl_fli_Prolog_get_1arg | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jint | jindex, | |||
jobject | jterm, | |||
jobject | jarg | |||
) |
JNIEXPORT jboolean JNICALL Java_jpl_fli_Prolog_get_1atom_1chars | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jterm, | |||
jobject | jstring_holder | |||
) |
JNIEXPORT jobject JNICALL Java_jpl_fli_Prolog_get_1c_1lib_1version | ( | JNIEnv * | env, | |
jclass | jProlog | |||
) |
JNIEXPORT jobject JNICALL Java_jpl_fli_Prolog_get_1default_1init_1args | ( | JNIEnv * | env, | |
jclass | jProlog | |||
) |
JNIEXPORT jboolean JNICALL Java_jpl_fli_Prolog_get_1float | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jterm, | |||
jobject | jdouble_holder | |||
) |
JNIEXPORT jboolean JNICALL Java_jpl_fli_Prolog_get_1integer | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jterm, | |||
jobject | jint64_holder | |||
) |
JNIEXPORT jboolean JNICALL Java_jpl_fli_Prolog_get_1name_1arity | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jterm, | |||
jobject | jname_holder, | |||
jobject | jarity_holder | |||
) |
JNIEXPORT jboolean JNICALL Java_jpl_fli_Prolog_get_1string_1chars | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jterm, | |||
jobject | jstring_holder | |||
) |
JNIEXPORT void JNICALL Java_jpl_fli_Prolog_halt | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jint | jstatus | |||
) |
JNIEXPORT jboolean JNICALL Java_jpl_fli_Prolog_initialise | ( | JNIEnv * | env, | |
jclass | jProlog | |||
) |
JNIEXPORT jboolean JNICALL Java_jpl_fli_Prolog_is_1tag | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jstring | tag | |||
) |
JNIEXPORT jobject JNICALL Java_jpl_fli_Prolog_new_1atom | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jstring | jname | |||
) |
JNIEXPORT jobject JNICALL Java_jpl_fli_Prolog_new_1functor | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jatom, | |||
jint | jarity | |||
) |
JNIEXPORT jobject JNICALL Java_jpl_fli_Prolog_new_1module | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jatom | |||
) |
JNIEXPORT jobject JNICALL Java_jpl_fli_Prolog_new_1term_1ref | ( | JNIEnv * | env, | |
jclass | jProlog | |||
) |
JNIEXPORT jobject JNICALL Java_jpl_fli_Prolog_new_1term_1refs | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jint | jn | |||
) |
JNIEXPORT jboolean JNICALL Java_jpl_fli_Prolog_next_1solution | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jqid | |||
) |
JNIEXPORT jobject JNICALL Java_jpl_fli_Prolog_object_1to_1tag | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jobj | |||
) |
JNIEXPORT jobject JNICALL Java_jpl_fli_Prolog_open_1foreign_1frame | ( | JNIEnv * | env, | |
jclass | jProlog | |||
) |
JNIEXPORT jobject JNICALL Java_jpl_fli_Prolog_open_1query | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jmodule, | |||
jint | jflags, | |||
jobject | jpredicate, | |||
jobject | jterm0 | |||
) |
JNIEXPORT int JNICALL Java_jpl_fli_Prolog_pool_1engine_1id | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jengine | |||
) |
JNIEXPORT jobject JNICALL Java_jpl_fli_Prolog_predicate | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jstring | jname, | |||
jint | jarity, | |||
jstring | jmodule | |||
) |
JNIEXPORT void JNICALL Java_jpl_fli_Prolog_put_1float | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jterm, | |||
jdouble | jf | |||
) |
JNIEXPORT void JNICALL Java_jpl_fli_Prolog_put_1integer | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jterm, | |||
jlong | ji | |||
) |
JNIEXPORT void JNICALL Java_jpl_fli_Prolog_put_1jref | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jterm, | |||
jobject | jref | |||
) |
JNIEXPORT void JNICALL Java_jpl_fli_Prolog_put_1term | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jterm1, | |||
jobject | jterm2 | |||
) |
JNIEXPORT void JNICALL Java_jpl_fli_Prolog_put_1variable | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jterm | |||
) |
JNIEXPORT int JNICALL Java_jpl_fli_Prolog_release_1pool_1engine | ( | JNIEnv * | env, | |
jclass | jProlog | |||
) |
JNIEXPORT jboolean JNICALL Java_jpl_fli_Prolog_set_1default_1init_1args | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jargs | |||
) |
JNIEXPORT jobject JNICALL Java_jpl_fli_Prolog_tag_1to_1object | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jstring | tag | |||
) |
JNIEXPORT jint JNICALL Java_jpl_fli_Prolog_term_1type | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jterm | |||
) |
JNIEXPORT jint JNICALL Java_jpl_fli_Prolog_thread_1self | ( | JNIEnv * | env, | |
jclass | jProlog | |||
) |
JNIEXPORT void JNICALL Java_jpl_fli_Prolog_unregister_1atom | ( | JNIEnv * | env, | |
jclass | jProlog, | |||
jobject | jatom | |||
) |
static foreign_t jni_alloc_buffer_plc | ( | term_t | txc, | |
term_t | tlen, | |||
term_t | tbp | |||
) | [static] |
static bool jni_atom_to_String | ( | JNIEnv * | env, | |
atom_t | a, | |||
jobject * | s | |||
) | [static] |
static foreign_t jni_byte_buf_length_to_codes_plc | ( | term_t | tbb, | |
term_t | tlen, | |||
term_t | tcs | |||
) | [static] |
static foreign_t jni_fetch_buffer_value_plc | ( | term_t | tbp, | |
term_t | ti, | |||
term_t | tv, | |||
term_t | txc | |||
) | [static] |
static foreign_t jni_func_0_plc | ( | term_t | tn, | |
term_t | tr | |||
) | [static] |
static foreign_t jni_func_1_plc | ( | term_t | tn, | |
term_t | ta1, | |||
term_t | tr | |||
) | [static] |
static foreign_t jni_func_2_plc | ( | term_t | tn, | |
term_t | ta1, | |||
term_t | ta2, | |||
term_t | tr | |||
) | [static] |
static foreign_t jni_func_3_plc | ( | term_t | tn, | |
term_t | ta1, | |||
term_t | ta2, | |||
term_t | ta3, | |||
term_t | tr | |||
) | [static] |
static foreign_t jni_func_4_plc | ( | term_t | tn, | |
term_t | ta1, | |||
term_t | ta2, | |||
term_t | ta3, | |||
term_t | ta4, | |||
term_t | tr | |||
) | [static] |
static foreign_t jni_get_actual_jvm_opts_plc | ( | term_t | args | ) | [static] |
static foreign_t jni_get_created_jvm_count_plc | ( | term_t | t1 | ) | [static] |
static bool jni_get_default_jvm_opts_1 | ( | term_t | args, | |
int | i, | |||
char ** | jvm_xia | |||
) | [static] |
static foreign_t jni_get_default_jvm_opts_plc | ( | term_t | args | ) | [static] |
static foreign_t jni_get_jvm_opts | ( | term_t | args, | |
char ** | jvm_xia | |||
) | [static] |
static int jni_hr_add | ( | JNIEnv * | env, | |
jobject | lref, | |||
pointer * | iref | |||
) | [static] |
static void jni_hr_free_chain_entries | ( | HrEntry * | ep | ) | [static] |
static void jni_hr_free_table_chains | ( | HrTable * | t | ) | [static] |
static bool jni_hr_hash | ( | JNIEnv * | env, | |
jobject | obj, | |||
int * | hash | |||
) | [static] |
static foreign_t jni_hr_info_plc | ( | term_t | t1, | |
term_t | t2, | |||
term_t | t3, | |||
term_t | t4 | |||
) | [static] |
static bool jni_jobject_to_term_byval | ( | JNIEnv * | env, | |
jobject | jobj, | |||
term_t | term | |||
) | [static] |
static foreign_t jni_jref_to_term_plc | ( | term_t | jref, | |
term_t | termIn | |||
) | [static] |
static term_t jni_new_java_exception | ( | atom_t | tag, | |
atom_t | msg | |||
) | [static] |
static term_t jni_new_jpl_error | ( | atom_t | tag, | |
atom_t | msg | |||
) | [static] |
static foreign_t jni_param_put_plc | ( | term_t | tn, | |
term_t | txc, | |||
term_t | tt, | |||
term_t | tjvp | |||
) | [static] |
static foreign_t jni_set_default_jvm_opts_plc | ( | term_t | tn, | |
term_t | args | |||
) | [static] |
static foreign_t jni_stash_buffer_value_plc | ( | term_t | tbp, | |
term_t | ti, | |||
term_t | tv, | |||
term_t | txc | |||
) | [static] |
static bool jni_String_to_atom | ( | JNIEnv * | env, | |
jobject | s, | |||
atom_t * | a | |||
) | [static] |
static bool jni_string_to_String | ( | JNIEnv * | env, | |
term_t | t, | |||
jobject * | s | |||
) | [static] |
static foreign_t jni_tag_to_iref_plc | ( | term_t | tt, | |
term_t | ti | |||
) | [static] |
static foreign_t jni_term_to_jref_plc | ( | term_t | tref1, | |
term_t | tref2 | |||
) | [static] |
static foreign_t jni_void_1_plc | ( | term_t | tn, | |
term_t | ta1 | |||
) | [static] |
static foreign_t jni_void_2_plc | ( | term_t | tn, | |
term_t | ta1, | |||
term_t | ta2 | |||
) | [static] |
static foreign_t jni_void_3_plc | ( | term_t | tn, | |
term_t | ta1, | |||
term_t | ta2, | |||
term_t | ta3 | |||
) | [static] |
static foreign_t jni_void_4_plc | ( | term_t | tn, | |
term_t | ta1, | |||
term_t | ta2, | |||
term_t | ta3, | |||
term_t | ta4 | |||
) | [static] |
static foreign_t jpl_c_lib_version_1_plc | ( | term_t | ta | ) | [static] |
static foreign_t jpl_c_lib_version_4_plc | ( | term_t | tmajor, | |
term_t | tminor, | |||
term_t | tpatch, | |||
term_t | tstatus | |||
) | [static] |
static bool jpl_post_pvm_init | ( | JNIEnv * | env, | |
int | argc, | |||
char ** | argv | |||
) | [static] |
static bool setDoubleValue | ( | JNIEnv * | env, | |
jobject | jdouble_holder, | |||
jdouble | dv | |||
) | [static] |
static bool setIntValue | ( | JNIEnv * | env, | |
jobject | jint_holder, | |||
jint | iv | |||
) | [static] |
static bool setLongValue | ( | JNIEnv * | env, | |
jobject | jlong_holder, | |||
jlong | lv | |||
) | [static] |
static bool setStringValue | ( | JNIEnv * | env, | |
jobject | jstring_holder, | |||
jstring | sv | |||
) | [static] |
const char* default_args[] |
int engines_allocated = 0 [static] |
pthread_cond_t engines_cond = PTHREAD_COND_INITIALIZER [static] |
pthread_mutex_t engines_mutex = PTHREAD_MUTEX_INITIALIZER [static] |
int hr_add_count = 0 [static] |
int hr_del_count = 0 [static] |
int hr_old_count = 0 [static] |
jclass jBooleanHolder_c [static] |
jfieldID jBooleanHolderValue_f [static] |
jclass jDoubleHolder_c [static] |
jfieldID jDoubleHolderValue_f [static] |
jclass jEngineT_c [static] |
jclass jFunctorT_c [static] |
jclass jInt64Holder_c [static] |
jfieldID jInt64HolderValue_f [static] |
jclass jIntHolder_c [static] |
jfieldID jIntHolderValue_f [static] |
jclass jJPLException_c [static] |
jclass jLongHolder_c [static] |
jfieldID jLongHolderValue_f [static] |
jclass jModuleT_c [static] |
atom_t JNI_atom_boolean [static] |
atom_t JNI_atom_byte [static] |
atom_t JNI_atom_char [static] |
atom_t JNI_atom_double [static] |
atom_t JNI_atom_false [static] |
atom_t JNI_atom_float [static] |
atom_t JNI_atom_int [static] |
atom_t JNI_atom_long [static] |
atom_t JNI_atom_null [static] |
atom_t JNI_atom_short [static] |
atom_t JNI_atom_true [static] |
atom_t JNI_atom_void [static] |
functor_t JNI_functor_at_1 [static] |
functor_t JNI_functor_error_2 [static] |
functor_t JNI_functor_java_exception_1 [static] |
functor_t JNI_functor_jbuf_2 [static] |
functor_t JNI_functor_jfieldID_1 [static] |
functor_t JNI_functor_jlong_2 [static] |
functor_t JNI_functor_jmethodID_1 [static] |
functor_t JNI_functor_jpl_error_1 [static] |
jclass jObjectHolder_c [static] |
jfieldID jObjectHolderValue_f [static] |
int jpl_status = JPL_INIT_RAW [static] |
jclass jPointerHolder_c [static] |
jfieldID jPointerHolderValue_f [static] |
jclass jPredicateT_c [static] |
jclass jStringHolder_c [static] |
jfieldID jStringHolderValue_f [static] |
pthread_mutex_t jvm_init_mutex = PTHREAD_MUTEX_INITIALIZER [static] |
pthread_mutex_t pvm_init_mutex = PTHREAD_MUTEX_INITIALIZER [static] |
int size[16] |
jclass term_class [static] |
jmethodID term_getTerm [static] |
jmethodID term_putTerm [static] |
jclass termt_class [static] |