Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Enumerations | Functions | Variables
jriext.h File Reference
#include "jri.h"
#include "minicom.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  JRIRuntimeInitargsStruct
struct  JRIRuntimeInterface
struct  JRIReflectionInterface
struct  JRIDebuggerInterface
struct  JRICompilerInterface
struct  JRIExprInterface

Defines

#define JRI_DisposeRuntime(runtime)   ((*(runtime))->DisposeRuntime(runtime))
#define JRI_SetIOMode(runtime, mode)   ((*(runtime))->SetIOMode(runtime, mode))
#define JRI_SetFSMode(runtime, mode)   ((*(runtime))->SetFSMode(runtime, mode))
#define JRI_SetRTMode(runtime, mode)   ((*(runtime))->SetRTMode(runtime, mode))
#define JRI_NewEnv(runtime, thread)   ((*(runtime))->NewEnv(runtime, thread))
#define JRI_DisposeEnv(env)   ((*(env))->DisposeEnv(env))
#define JRI_GetRuntime(env)   ((*(env))->GetRuntime(env))
#define JRI_GetThread(env)   ((*(env))->GetThread(env))
#define JRI_SetClassLoader(env, classLoader)   ((*(env))->SetClassLoader(env, classLoader))
#define JRI_GetClassCount(env)   ((*(env))->GetClassCount(env))
#define JRI_GetClass(env, index)   ((*(env))->GetClass(env, index))
#define JRI_GetClassName(env, clazz)   ((*(env))->GetClassName(env, clazz))
#define JRI_VerifyClass(env, clazz)   ((*(env))->VerifyClass(env, clazz))
#define JRI_GetClassSuperclass(env, clazz)   ((*(env))->GetClassSuperclass(env, clazz))
#define JRI_GetClassInterfaceCount(env, clazz)   ((*(env))->GetClassInterfaceCount(env, clazz))
#define JRI_GetClassInterface(env, clazz, index)   ((*(env))->GetClassInterface(env, clazz, index))
#define JRI_GetClassFieldCount(env, clazz)   ((*(env))->GetClassFieldCount(env, clazz))
#define JRI_GetClassFieldInfo(env, clazz, fieldIndex, fieldName, fieldSig, fieldAccess, fieldClass)   ((*(env))->GetClassFieldInfo(env, clazz, fieldIndex, fieldName, fieldSig, fieldAccess, fieldClass))
#define JRI_GetClassMethodCount(env, clazz)   ((*(env))->GetClassMethodCount(env, clazz))
#define JRI_GetClassMethodInfo(env, clazz, methodIndex, methodName, methodSig, methodAccess, methodClass, methodNativeProc)   ((*(env))->GetClassMethodInfo(env, clazz, methodIndex, methodName, methodSig, methodAccess, methodClass, methodNativeProc))
#define JRI_GetClassAccessFlags(env, clazz)   ((*(env))->GetClassAccessFlags(env, clazz))
#define JRIVarNotInScope   ((JRIFieldID)-1)
#define JRI_GetFrameCount(env)   ((*(env))->GetFrameCount(env))
#define JRI_GetFrameInfo(env, frameIndex, methodClass, methodIndex, pc, varsCount)   ((*(env))->GetFrameInfo(env, frameIndex, methodClass, methodIndex, pc, varsCount))
#define JRI_GetVarInfo(env, frameIndex, varIndex, name, signature, pos, isArgument, startScope, endScope)   ((*(env))->GetVarInfo(env, frameIndex, varIndex, name, signature, pos, isArgument, startScope, endScope))
#define JRI_GetSourceInfo(env, frameIndex, filename, lineNumber)   ((*(env))->GetSourceInfo(env, frameIndex, filename, lineNumber))
#define JRI_GetVar(env, frameIndex, varIndex)   ((*(env))->GetVar(env, frameIndex, varIndex))
#define JRI_GetVar_boolean(env, frameIndex, varIndex)   ((*(env))->GetVar_boolean(env, frameIndex, varIndex))
#define JRI_GetVar_byte(env, frameIndex, varIndex)   ((*(env))->GetVar_byte(env, frameIndex, varIndex))
#define JRI_GetVar_char(env, frameIndex, varIndex)   ((*(env))->GetVar_char(env, frameIndex, varIndex))
#define JRI_GetVar_short(env, frameIndex, varIndex)   ((*(env))->GetVar_short(env, frameIndex, varIndex))
#define JRI_GetVar_int(env, frameIndex, varIndex)   ((*(env))->GetVar_int(env, frameIndex, varIndex))
#define JRI_GetVar_long(env, frameIndex, varIndex)   ((*(env))->GetVar_long(env, frameIndex, varIndex))
#define JRI_GetVar_float(env, frameIndex, varIndex)   ((*(env))->GetVar_float(env, frameIndex, varIndex))
#define JRI_GetVar_double(env, frameIndex, varIndex)   ((*(env))->GetVar_double(env, frameIndex, varIndex))
#define JRI_SetVar(env, frameIndex, varIndex, value)   ((*(env))->SetVar(env, frameIndex, varIndex, value))
#define JRI_SetVar_boolean(env, frameIndex, varIndex, value)   ((*(env))->SetVar_boolean(env, frameIndex, varIndex, value))
#define JRI_SetVar_byte(env, frameIndex, varIndex, value)   ((*(env))->SetVar_byte(env, frameIndex, varIndex, value))
#define JRI_SetVar_char(env, frameIndex, varIndex, value)   ((*(env))->SetVar_char(env, frameIndex, varIndex, value))
#define JRI_SetVar_short(env, frameIndex, varIndex, value)   ((*(env))->SetVar_short(env, frameIndex, varIndex, value))
#define JRI_SetVar_int(env, frameIndex, varIndex, value)   ((*(env))->SetVar_int(env, frameIndex, varIndex, value))
#define JRI_SetVar_long(env, frameIndex, varIndex, value)   ((*(env))->SetVar_long(env, frameIndex, varIndex, value))
#define JRI_SetVar_float(env, frameIndex, varIndex, value)   ((*(env))->SetVar_float(env, frameIndex, varIndex, value))
#define JRI_SetVar_double(env, frameIndex, varIndex, value)   ((*(env))->SetVar_double(env, frameIndex, varIndex, value))
#define JRI_StepOver(env)   ((*(env))->StepOver(env))
#define JRI_StepIn(env)   ((*(env))->StepIn(env))
#define JRI_StepOut(env)   ((*(env))->StepOut(env))
#define JRI_Continue(env)   ((*(env))->Continue(env))
#define JRI_Return(env, frameIndex, value)   ((*(env))->Return(env, frameIndex, value))
#define JRI_CompileClass(env, classSrc, classSrcLen, resultingClassData, classDataLen)   ((*(env))->CompileClass(env, classSrc, classSrcLen, resultingClassData, classDataLen))
#define JRI_CompileExpr(env, exprSrc, exprSrcLen)   ((*(env))->CompileExpr(env, exprSrc, exprSrcLen))
#define JRI_EvalExpr(env, expr)   ((*(env))->EvalExpr(env, expr))

Typedefs

typedef struct JRIRuntimeInterface
typedef const JRIRuntimeInterfaceJRIRuntimeInstance
typedef void(JRI_CALLBACKJRICollectionStartProc )(JRIRuntimeInstance *runtime)
typedef void(JRI_CALLBACKJRICollectionEndProc )(JRIRuntimeInstance *runtime)
typedef enum JRIVerifyMode JRIVerifyMode
typedef struct
JRIRuntimeInitargsStruct 
JRIRuntimeInitargs
typedef enum JRIIOModeFlags JRIIOModeFlags
typedef enum JRIFSModeFlags JRIFSModeFlags
typedef enum JRIRTModeFlags JRIRTModeFlags
typedef void(* JRI_DisposeRuntime_t )(JRIRuntimeInstance *runtime)
typedef void(* JRI_SetIOMode_t )(JRIRuntimeInstance *runtime, JRIIOModeFlags mode)
typedef void(* JRI_SetFSMode_t )(JRIRuntimeInstance *runtime, JRIFSModeFlags mode)
typedef void(* JRI_SetRTMode_t )(JRIRuntimeInstance *runtime, JRIRTModeFlags mode)
typedef JRIEnv *(* JRI_NewEnv_t )(JRIRuntimeInstance *runtime, void *thread)
typedef void(* JRI_DisposeEnv_t )(JRIEnv *env)
typedef JRIRuntimeInstance *(* JRI_GetRuntime_t )(JRIEnv *env)
typedef void *(* JRI_GetThread_t )(JRIEnv *env)
typedef void(* JRI_SetClassLoader_t )(JRIEnv *env, jref classLoader)
typedef struct JRIReflectionInterface
typedef const
JRIReflectionInterface
JRIReflectionEnv
typedef enum JRIAccessFlags JRIAccessFlags
typedef jsize(* JRI_GetClassCount_t )(JRIReflectionEnv *env)
typedef jref(* JRI_GetClass_t )(JRIReflectionEnv *env, jsize index)
typedef const char *(* JRI_GetClassName_t )(JRIReflectionEnv *env, struct java_lang_Class *clazz)
typedef jbool(* JRI_VerifyClass_t )(JRIReflectionEnv *env, struct java_lang_Class *clazz)
typedef jref(* JRI_GetClassSuperclass_t )(JRIReflectionEnv *env, struct java_lang_Class *clazz)
typedef jsize(* JRI_GetClassInterfaceCount_t )(JRIReflectionEnv *env, struct java_lang_Class *clazz)
typedef jref(* JRI_GetClassInterface_t )(JRIReflectionEnv *env, struct java_lang_Class *clazz, jsize index)
typedef jsize(* JRI_GetClassFieldCount_t )(JRIReflectionEnv *env, struct java_lang_Class *clazz)
typedef void(* JRI_GetClassFieldInfo_t )(JRIReflectionEnv *env, struct java_lang_Class *clazz, jsize fieldIndex, char **fieldName, char **fieldSig, JRIAccessFlags *fieldAccess, jref *fieldClass)
typedef jsize(* JRI_GetClassMethodCount_t )(JRIReflectionEnv *env, struct java_lang_Class *clazz)
typedef void(* JRI_GetClassMethodInfo_t )(JRIReflectionEnv *env, struct java_lang_Class *clazz, jsize methodIndex, char **methodName, char **methodSig, JRIAccessFlags *methodAccess, jref *methodClass, void **methodNativeProc)
typedef JRIAccessFlags(* JRI_GetClassAccessFlags_t )(JRIReflectionEnv *env, struct java_lang_Class *clazz)
typedef struct JRIDebuggerInterface
typedef const
JRIDebuggerInterface
JRIDebuggerEnv
typedef jsize(* JRI_GetFrameCount_t )(JRIDebuggerEnv *env)
typedef jbool(* JRI_GetFrameInfo_t )(JRIDebuggerEnv *env, jsize frameIndex, jref *methodClass, jsize *methodIndex, jsize *pc, jsize *varsCount)
typedef void(* JRI_GetVarInfo_t )(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex, char **name, char **signature, jbool *isArgument, jsize *startScope, jsize *endScope)
typedef void(* JRI_GetSourceInfo_t )(JRIDebuggerEnv *env, jsize frameIndex, const char **filename, jsize *lineNumber)
typedef jref(* JRI_GetVar_t )(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex)
typedef jbool(* JRI_GetVar_boolean_t )(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex)
typedef jbyte(* JRI_GetVar_byte_t )(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex)
typedef jchar(* JRI_GetVar_char_t )(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex)
typedef jshort(* JRI_GetVar_short_t )(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex)
typedef jint(* JRI_GetVar_int_t )(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex)
typedef jlong(* JRI_GetVar_long_t )(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex)
typedef jfloat(* JRI_GetVar_float_t )(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex)
typedef jdouble(* JRI_GetVar_double_t )(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex)
typedef void(* JRI_SetVar_t )(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex, jref value)
typedef void(* JRI_SetVar_boolean_t )(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex, jbool value)
typedef void(* JRI_SetVar_byte_t )(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex, jbyte value)
typedef void(* JRI_SetVar_char_t )(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex, jchar value)
typedef void(* JRI_SetVar_short_t )(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex, jshort value)
typedef void(* JRI_SetVar_int_t )(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex, jint value)
typedef void(* JRI_SetVar_long_t )(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex, jlong value)
typedef void(* JRI_SetVar_float_t )(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex, jfloat value)
typedef void(* JRI_SetVar_double_t )(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex, jdouble value)
typedef void(* JRI_StepOver_t )(JRIDebuggerEnv *env)
typedef void(* JRI_StepIn_t )(JRIDebuggerEnv *env)
typedef void(* JRI_StepOut_t )(JRIDebuggerEnv *env)
typedef void(* JRI_Continue_t )(JRIDebuggerEnv *env)
typedef void(* JRI_Return_t )(JRIDebuggerEnv *env, jsize frameIndex, JRIValue value)
typedef struct JRICompilerInterface
typedef const
JRICompilerInterface
JRICompilerEnv
typedef void(* JRI_CompileClass_t )(JRICompilerEnv *env, const char *classSrc, jsize classSrcLen, jbyte **resultingClassData, jsize *classDataLen)
typedef struct JRIExprInterface
typedef const JRIExprInterfaceJRIExprEnv
typedef jref(* JRI_CompileExpr_t )(JRIExprEnv *env, const char *exprSrc, jsize exprSrcLen)
typedef jref(* JRI_EvalExpr_t )(JRIExprEnv *env, jref expr)

Enumerations

enum  JRIVerifyMode { JRIVerifyNone, JRIVerifyRemote, JRIVerifyAll }
enum  JRIIOModeFlags {
  JRIIOMode_Unrestricted = ~0, JRIIOMode_None = 0, JRIIOMode_AllowStdin = 0x01, JRIIOMode_AllowStdout = 0x02,
  JRIIOMode_AllowSocket = 0x04, JRIIOMode_AllowFileInput = 0x08, JRIIOMode_AllowFileOutput = 0x10
}
enum  JRIFSModeFlags { JRIFSMode_Unrestricted, JRIFSMode_None }
enum  JRIRTModeFlags { JRIRTMode_Unrestricted, JRIRTMode_None }
enum  JRIAccessFlags {
  JRIAccessPublic = 0x0001, JRIAccessPrivate = 0x0002, JRIAccessProtected = 0x0004, JRIAccessStatic = 0x0008,
  JRIAccessFinal = 0x0010, JRIAccessSynchronized = 0x0020, JRIAccessNative = 0x0100, JRIAccessInterface = 0x0200,
  JRIAccessAbstract = 0x0400
}

Functions

 JRI_PUBLIC_API (JRIRuntimeInstance *) JRI_NewRuntime(JRIRuntimeInitargs *initargs)

Variables

const GUID JRINativePkgID
const GUID JRIRuntimePkgID
const GUID JRIReflectionPkgID
const GUID JRIDebuggerPkgID
const GUID JRICompilerPkgID
const GUID JRIExprPkgID

Class Documentation

struct JRIRuntimeInitargsStruct

Definition at line 77 of file jriext.h.

Collaboration diagram for JRIRuntimeInitargsStruct:
Class Members
JRICollectionEndProc collectionEndProc
JRICollectionStartProc collectionStartProc
jsize initialHeapSize
int insideNavigator
short majorVersion
jsize maxHeapSize
short minorVersion
JRIVerifyMode verifyMode
struct JRIRuntimeInterface

Definition at line 155 of file jriext.h.

Collaboration diagram for JRIRuntimeInterface:
Class Members
MCOM_AddRef_t AddRef
JRI_DisposeEnv_t DisposeEnv
JRI_DisposeRuntime_t DisposeRuntime
JRI_GetRuntime_t GetRuntime
JRI_GetThread_t GetThread
JRI_NewEnv_t NewEnv
MCOM_QueryInterface_t QueryInterface
MCOM_Release_t Release
void * reserved3
JRI_SetClassLoader_t SetClassLoader
JRI_SetFSMode_t SetFSMode
JRI_SetIOMode_t SetIOMode
JRI_SetRTMode_t SetRTMode
struct JRIReflectionInterface

Definition at line 288 of file jriext.h.

Collaboration diagram for JRIReflectionInterface:
Class Members
MCOM_AddRef_t AddRef
JRI_GetClass_t GetClass
JRI_GetClassAccessFlags_t GetClassAccessFlags
JRI_GetClassCount_t GetClassCount
JRI_GetClassFieldCount_t GetClassFieldCount
JRI_GetClassFieldInfo_t GetClassFieldInfo
JRI_GetClassInterface_t GetClassInterface
JRI_GetClassInterfaceCount_t GetClassInterfaceCount
JRI_GetClassMethodCount_t GetClassMethodCount
JRI_GetClassMethodInfo_t GetClassMethodInfo
JRI_GetClassName_t GetClassName
JRI_GetClassSuperclass_t GetClassSuperclass
MCOM_QueryInterface_t QueryInterface
MCOM_Release_t Release
void * reserved3
JRI_VerifyClass_t VerifyClass
struct JRIDebuggerInterface

Definition at line 461 of file jriext.h.

Collaboration diagram for JRIDebuggerInterface:
Class Members
MCOM_AddRef_t AddRef
JRI_Continue_t Continue
JRI_GetFrameCount_t GetFrameCount
JRI_GetFrameInfo_t GetFrameInfo
JRI_GetSourceInfo_t GetSourceInfo
JRI_GetVar_t GetVar
JRI_GetVar_boolean_t GetVar_boolean
JRI_GetVar_byte_t GetVar_byte
JRI_GetVar_char_t GetVar_char
JRI_GetVar_double_t GetVar_double
JRI_GetVar_float_t GetVar_float
JRI_GetVar_int_t GetVar_int
JRI_GetVar_long_t GetVar_long
JRI_GetVar_short_t GetVar_short
JRI_GetVarInfo_t GetVarInfo
MCOM_QueryInterface_t QueryInterface
MCOM_Release_t Release
void * reserved3
JRI_Return_t Return
JRI_SetVar_t SetVar
JRI_SetVar_boolean_t SetVar_boolean
JRI_SetVar_byte_t SetVar_byte
JRI_SetVar_char_t SetVar_char
JRI_SetVar_double_t SetVar_double
JRI_SetVar_float_t SetVar_float
JRI_SetVar_int_t SetVar_int
JRI_SetVar_long_t SetVar_long
JRI_SetVar_short_t SetVar_short
JRI_StepIn_t StepIn
JRI_StepOut_t StepOut
JRI_StepOver_t StepOver
struct JRICompilerInterface

Definition at line 599 of file jriext.h.

Collaboration diagram for JRICompilerInterface:
Class Members
MCOM_AddRef_t AddRef
JRI_CompileClass_t CompileClass
MCOM_QueryInterface_t QueryInterface
MCOM_Release_t Release
void * reserved3
struct JRIExprInterface

Definition at line 626 of file jriext.h.

Collaboration diagram for JRIExprInterface:
Class Members
MCOM_AddRef_t AddRef
JRI_CompileExpr_t CompileExpr
JRI_EvalExpr_t EvalExpr
MCOM_QueryInterface_t QueryInterface
MCOM_Release_t Release
void * reserved3

Define Documentation

#define JRI_CompileClass (   env,
  classSrc,
  classSrcLen,
  resultingClassData,
  classDataLen 
)    ((*(env))->CompileClass(env, classSrc, classSrcLen, resultingClassData, classDataLen))

Definition at line 607 of file jriext.h.

#define JRI_CompileExpr (   env,
  exprSrc,
  exprSrcLen 
)    ((*(env))->CompileExpr(env, exprSrc, exprSrcLen))

Definition at line 635 of file jriext.h.

#define JRI_Continue (   env)    ((*(env))->Continue(env))

Definition at line 579 of file jriext.h.

#define JRI_DisposeEnv (   env)    ((*(env))->DisposeEnv(env))

Definition at line 201 of file jriext.h.

#define JRI_DisposeRuntime (   runtime)    ((*(runtime))->DisposeRuntime(runtime))

Definition at line 171 of file jriext.h.

#define JRI_EvalExpr (   env,
  expr 
)    ((*(env))->EvalExpr(env, expr))

Definition at line 638 of file jriext.h.

#define JRI_GetClass (   env,
  index 
)    ((*(env))->GetClass(env, index))

Definition at line 310 of file jriext.h.

#define JRI_GetClassAccessFlags (   env,
  clazz 
)    ((*(env))->GetClassAccessFlags(env, clazz))

Definition at line 349 of file jriext.h.

#define JRI_GetClassCount (   env)    ((*(env))->GetClassCount(env))

Definition at line 307 of file jriext.h.

#define JRI_GetClassFieldCount (   env,
  clazz 
)    ((*(env))->GetClassFieldCount(env, clazz))

Definition at line 334 of file jriext.h.

#define JRI_GetClassFieldInfo (   env,
  clazz,
  fieldIndex,
  fieldName,
  fieldSig,
  fieldAccess,
  fieldClass 
)    ((*(env))->GetClassFieldInfo(env, clazz, fieldIndex, fieldName, fieldSig, fieldAccess, fieldClass))

Definition at line 337 of file jriext.h.

#define JRI_GetClassInterface (   env,
  clazz,
  index 
)    ((*(env))->GetClassInterface(env, clazz, index))

Definition at line 328 of file jriext.h.

#define JRI_GetClassInterfaceCount (   env,
  clazz 
)    ((*(env))->GetClassInterfaceCount(env, clazz))

Definition at line 325 of file jriext.h.

#define JRI_GetClassMethodCount (   env,
  clazz 
)    ((*(env))->GetClassMethodCount(env, clazz))

Definition at line 343 of file jriext.h.

#define JRI_GetClassMethodInfo (   env,
  clazz,
  methodIndex,
  methodName,
  methodSig,
  methodAccess,
  methodClass,
  methodNativeProc 
)    ((*(env))->GetClassMethodInfo(env, clazz, methodIndex, methodName, methodSig, methodAccess, methodClass, methodNativeProc))

Definition at line 346 of file jriext.h.

#define JRI_GetClassName (   env,
  clazz 
)    ((*(env))->GetClassName(env, clazz))

Definition at line 313 of file jriext.h.

#define JRI_GetClassSuperclass (   env,
  clazz 
)    ((*(env))->GetClassSuperclass(env, clazz))

Definition at line 319 of file jriext.h.

#define JRI_GetFrameCount (   env)    ((*(env))->GetFrameCount(env))

Definition at line 496 of file jriext.h.

#define JRI_GetFrameInfo (   env,
  frameIndex,
  methodClass,
  methodIndex,
  pc,
  varsCount 
)    ((*(env))->GetFrameInfo(env, frameIndex, methodClass, methodIndex, pc, varsCount))

Definition at line 499 of file jriext.h.

#define JRI_GetRuntime (   env)    ((*(env))->GetRuntime(env))

Definition at line 204 of file jriext.h.

#define JRI_GetSourceInfo (   env,
  frameIndex,
  filename,
  lineNumber 
)    ((*(env))->GetSourceInfo(env, frameIndex, filename, lineNumber))

Definition at line 505 of file jriext.h.

#define JRI_GetThread (   env)    ((*(env))->GetThread(env))

Definition at line 207 of file jriext.h.

#define JRI_GetVar (   env,
  frameIndex,
  varIndex 
)    ((*(env))->GetVar(env, frameIndex, varIndex))

Definition at line 510 of file jriext.h.

#define JRI_GetVar_boolean (   env,
  frameIndex,
  varIndex 
)    ((*(env))->GetVar_boolean(env, frameIndex, varIndex))

Definition at line 513 of file jriext.h.

#define JRI_GetVar_byte (   env,
  frameIndex,
  varIndex 
)    ((*(env))->GetVar_byte(env, frameIndex, varIndex))

Definition at line 516 of file jriext.h.

#define JRI_GetVar_char (   env,
  frameIndex,
  varIndex 
)    ((*(env))->GetVar_char(env, frameIndex, varIndex))

Definition at line 519 of file jriext.h.

#define JRI_GetVar_double (   env,
  frameIndex,
  varIndex 
)    ((*(env))->GetVar_double(env, frameIndex, varIndex))

Definition at line 534 of file jriext.h.

#define JRI_GetVar_float (   env,
  frameIndex,
  varIndex 
)    ((*(env))->GetVar_float(env, frameIndex, varIndex))

Definition at line 531 of file jriext.h.

#define JRI_GetVar_int (   env,
  frameIndex,
  varIndex 
)    ((*(env))->GetVar_int(env, frameIndex, varIndex))

Definition at line 525 of file jriext.h.

#define JRI_GetVar_long (   env,
  frameIndex,
  varIndex 
)    ((*(env))->GetVar_long(env, frameIndex, varIndex))

Definition at line 528 of file jriext.h.

#define JRI_GetVar_short (   env,
  frameIndex,
  varIndex 
)    ((*(env))->GetVar_short(env, frameIndex, varIndex))

Definition at line 522 of file jriext.h.

#define JRI_GetVarInfo (   env,
  frameIndex,
  varIndex,
  name,
  signature,
  pos,
  isArgument,
  startScope,
  endScope 
)    ((*(env))->GetVarInfo(env, frameIndex, varIndex, name, signature, pos, isArgument, startScope, endScope))

Definition at line 502 of file jriext.h.

#define JRI_NewEnv (   runtime,
  thread 
)    ((*(runtime))->NewEnv(runtime, thread))

Definition at line 198 of file jriext.h.

#define JRI_Return (   env,
  frameIndex,
  value 
)    ((*(env))->Return(env, frameIndex, value))

Definition at line 582 of file jriext.h.

#define JRI_SetClassLoader (   env,
  classLoader 
)    ((*(env))->SetClassLoader(env, classLoader))

Definition at line 210 of file jriext.h.

#define JRI_SetFSMode (   runtime,
  mode 
)    ((*(runtime))->SetFSMode(runtime, mode))

Definition at line 185 of file jriext.h.

#define JRI_SetIOMode (   runtime,
  mode 
)    ((*(runtime))->SetIOMode(runtime, mode))

Definition at line 178 of file jriext.h.

#define JRI_SetRTMode (   runtime,
  mode 
)    ((*(runtime))->SetRTMode(runtime, mode))

Definition at line 193 of file jriext.h.

#define JRI_SetVar (   env,
  frameIndex,
  varIndex,
  value 
)    ((*(env))->SetVar(env, frameIndex, varIndex, value))

Definition at line 539 of file jriext.h.

#define JRI_SetVar_boolean (   env,
  frameIndex,
  varIndex,
  value 
)    ((*(env))->SetVar_boolean(env, frameIndex, varIndex, value))

Definition at line 542 of file jriext.h.

#define JRI_SetVar_byte (   env,
  frameIndex,
  varIndex,
  value 
)    ((*(env))->SetVar_byte(env, frameIndex, varIndex, value))

Definition at line 545 of file jriext.h.

#define JRI_SetVar_char (   env,
  frameIndex,
  varIndex,
  value 
)    ((*(env))->SetVar_char(env, frameIndex, varIndex, value))

Definition at line 548 of file jriext.h.

#define JRI_SetVar_double (   env,
  frameIndex,
  varIndex,
  value 
)    ((*(env))->SetVar_double(env, frameIndex, varIndex, value))

Definition at line 563 of file jriext.h.

#define JRI_SetVar_float (   env,
  frameIndex,
  varIndex,
  value 
)    ((*(env))->SetVar_float(env, frameIndex, varIndex, value))

Definition at line 560 of file jriext.h.

#define JRI_SetVar_int (   env,
  frameIndex,
  varIndex,
  value 
)    ((*(env))->SetVar_int(env, frameIndex, varIndex, value))

Definition at line 554 of file jriext.h.

#define JRI_SetVar_long (   env,
  frameIndex,
  varIndex,
  value 
)    ((*(env))->SetVar_long(env, frameIndex, varIndex, value))

Definition at line 557 of file jriext.h.

#define JRI_SetVar_short (   env,
  frameIndex,
  varIndex,
  value 
)    ((*(env))->SetVar_short(env, frameIndex, varIndex, value))

Definition at line 551 of file jriext.h.

#define JRI_StepIn (   env)    ((*(env))->StepIn(env))

Definition at line 573 of file jriext.h.

#define JRI_StepOut (   env)    ((*(env))->StepOut(env))

Definition at line 576 of file jriext.h.

#define JRI_StepOver (   env)    ((*(env))->StepOver(env))

Definition at line 570 of file jriext.h.

#define JRI_VerifyClass (   env,
  clazz 
)    ((*(env))->VerifyClass(env, clazz))

Definition at line 316 of file jriext.h.

Definition at line 376 of file jriext.h.


Typedef Documentation

typedef void(* JRI_CompileClass_t)(JRICompilerEnv *env, const char *classSrc, jsize classSrcLen, jbyte **resultingClassData, jsize *classDataLen)

Definition at line 595 of file jriext.h.

typedef jref(* JRI_CompileExpr_t)(JRIExprEnv *env, const char *exprSrc, jsize exprSrcLen)

Definition at line 620 of file jriext.h.

Definition at line 454 of file jriext.h.

typedef void(* JRI_DisposeEnv_t)(JRIEnv *env)

Definition at line 144 of file jriext.h.

Definition at line 114 of file jriext.h.

typedef jref(* JRI_EvalExpr_t)(JRIExprEnv *env, jref expr)

Definition at line 624 of file jriext.h.

Definition at line 240 of file jriext.h.

typedef JRIAccessFlags(* JRI_GetClassAccessFlags_t)(JRIReflectionEnv *env, struct java_lang_Class *clazz)

Definition at line 284 of file jriext.h.

Definition at line 237 of file jriext.h.

typedef jsize(* JRI_GetClassFieldCount_t)(JRIReflectionEnv *env, struct java_lang_Class *clazz)

Definition at line 264 of file jriext.h.

typedef void(* JRI_GetClassFieldInfo_t)(JRIReflectionEnv *env, struct java_lang_Class *clazz, jsize fieldIndex, char **fieldName, char **fieldSig, JRIAccessFlags *fieldAccess, jref *fieldClass)

Definition at line 267 of file jriext.h.

typedef jref(* JRI_GetClassInterface_t)(JRIReflectionEnv *env, struct java_lang_Class *clazz, jsize index)

Definition at line 258 of file jriext.h.

typedef jsize(* JRI_GetClassInterfaceCount_t)(JRIReflectionEnv *env, struct java_lang_Class *clazz)

Definition at line 255 of file jriext.h.

typedef jsize(* JRI_GetClassMethodCount_t)(JRIReflectionEnv *env, struct java_lang_Class *clazz)

Definition at line 275 of file jriext.h.

typedef void(* JRI_GetClassMethodInfo_t)(JRIReflectionEnv *env, struct java_lang_Class *clazz, jsize methodIndex, char **methodName, char **methodSig, JRIAccessFlags *methodAccess, jref *methodClass, void **methodNativeProc)

Definition at line 278 of file jriext.h.

typedef const char*(* JRI_GetClassName_t)(JRIReflectionEnv *env, struct java_lang_Class *clazz)

Definition at line 243 of file jriext.h.

typedef jref(* JRI_GetClassSuperclass_t)(JRIReflectionEnv *env, struct java_lang_Class *clazz)

Definition at line 249 of file jriext.h.

Definition at line 364 of file jriext.h.

typedef jbool(* JRI_GetFrameInfo_t)(JRIDebuggerEnv *env, jsize frameIndex, jref *methodClass, jsize *methodIndex, jsize *pc, jsize *varsCount)

Definition at line 367 of file jriext.h.

Definition at line 147 of file jriext.h.

typedef void(* JRI_GetSourceInfo_t)(JRIDebuggerEnv *env, jsize frameIndex, const char **filename, jsize *lineNumber)

Definition at line 379 of file jriext.h.

typedef void*(* JRI_GetThread_t)(JRIEnv *env)

Definition at line 150 of file jriext.h.

typedef jbool(* JRI_GetVar_boolean_t)(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex)

Definition at line 388 of file jriext.h.

typedef jbyte(* JRI_GetVar_byte_t)(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex)

Definition at line 391 of file jriext.h.

typedef jchar(* JRI_GetVar_char_t)(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex)

Definition at line 394 of file jriext.h.

typedef jdouble(* JRI_GetVar_double_t)(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex)

Definition at line 409 of file jriext.h.

typedef jfloat(* JRI_GetVar_float_t)(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex)

Definition at line 406 of file jriext.h.

typedef jint(* JRI_GetVar_int_t)(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex)

Definition at line 400 of file jriext.h.

typedef jlong(* JRI_GetVar_long_t)(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex)

Definition at line 403 of file jriext.h.

typedef jshort(* JRI_GetVar_short_t)(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex)

Definition at line 397 of file jriext.h.

typedef jref(* JRI_GetVar_t)(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex)

Definition at line 385 of file jriext.h.

typedef void(* JRI_GetVarInfo_t)(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex, char **name, char **signature, jbool *isArgument, jsize *startScope, jsize *endScope)

Definition at line 372 of file jriext.h.

typedef JRIEnv*(* JRI_NewEnv_t)(JRIRuntimeInstance *runtime, void *thread)

Definition at line 141 of file jriext.h.

typedef void(* JRI_Return_t)(JRIDebuggerEnv *env, jsize frameIndex, JRIValue value)

Definition at line 457 of file jriext.h.

typedef void(* JRI_SetClassLoader_t)(JRIEnv *env, jref classLoader)

Definition at line 153 of file jriext.h.

Definition at line 128 of file jriext.h.

Definition at line 121 of file jriext.h.

Definition at line 136 of file jriext.h.

typedef void(* JRI_SetVar_boolean_t)(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex, jbool value)

Definition at line 417 of file jriext.h.

typedef void(* JRI_SetVar_byte_t)(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex, jbyte value)

Definition at line 420 of file jriext.h.

typedef void(* JRI_SetVar_char_t)(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex, jchar value)

Definition at line 423 of file jriext.h.

typedef void(* JRI_SetVar_double_t)(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex, jdouble value)

Definition at line 438 of file jriext.h.

typedef void(* JRI_SetVar_float_t)(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex, jfloat value)

Definition at line 435 of file jriext.h.

typedef void(* JRI_SetVar_int_t)(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex, jint value)

Definition at line 429 of file jriext.h.

typedef void(* JRI_SetVar_long_t)(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex, jlong value)

Definition at line 432 of file jriext.h.

typedef void(* JRI_SetVar_short_t)(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex, jshort value)

Definition at line 426 of file jriext.h.

typedef void(* JRI_SetVar_t)(JRIDebuggerEnv *env, jsize frameIndex, jsize varIndex, jref value)

Definition at line 414 of file jriext.h.

typedef void(* JRI_StepIn_t)(JRIDebuggerEnv *env)

Definition at line 448 of file jriext.h.

typedef void(* JRI_StepOut_t)(JRIDebuggerEnv *env)

Definition at line 451 of file jriext.h.

Definition at line 445 of file jriext.h.

typedef jbool(* JRI_VerifyClass_t)(JRIReflectionEnv *env, struct java_lang_Class *clazz)

Definition at line 246 of file jriext.h.

Definition at line 68 of file jriext.h.

Definition at line 65 of file jriext.h.

Definition at line 592 of file jriext.h.

typedef struct JRICompilerInterface

Definition at line 591 of file jriext.h.

Definition at line 359 of file jriext.h.

typedef struct JRIDebuggerInterface

Definition at line 358 of file jriext.h.

Definition at line 617 of file jriext.h.

typedef struct JRIExprInterface

Definition at line 616 of file jriext.h.

Definition at line 220 of file jriext.h.

typedef struct JRIReflectionInterface

Definition at line 219 of file jriext.h.

Definition at line 62 of file jriext.h.

typedef struct JRIRuntimeInterface

Definition at line 61 of file jriext.h.


Enumeration Type Documentation

Enumerator:
JRIAccessPublic 
JRIAccessPrivate 
JRIAccessProtected 
JRIAccessStatic 
JRIAccessFinal 
JRIAccessSynchronized 
JRIAccessNative 
JRIAccessInterface 
JRIAccessAbstract 

Definition at line 222 of file jriext.h.

                            {
    /* Field and Method Access */
    JRIAccessPublic                = 0x0001,
    JRIAccessPrivate        = 0x0002,
    JRIAccessProtected             = 0x0004,
    JRIAccessStatic                = 0x0008,
    JRIAccessFinal                 = 0x0010,
    JRIAccessSynchronized   = 0x0020,
    JRIAccessNative                = 0x0100,
    /* Class Access */
    JRIAccessInterface             = 0x0200,
    JRIAccessAbstract              = 0x0400
} JRIAccessFlags;
Enumerator:
JRIFSMode_Unrestricted 
JRIFSMode_None 

Definition at line 100 of file jriext.h.

                            {
    JRIFSMode_Unrestricted, /* no C level filesystem checks */
    JRIFSMode_None          /* no filesystem access allowed */
} JRIFSModeFlags;
Enumerator:
JRIIOMode_Unrestricted 
JRIIOMode_None 
JRIIOMode_AllowStdin 
JRIIOMode_AllowStdout 
JRIIOMode_AllowSocket 
JRIIOMode_AllowFileInput 
JRIIOMode_AllowFileOutput 

Definition at line 90 of file jriext.h.

Enumerator:
JRIRTMode_Unrestricted 
JRIRTMode_None 

Definition at line 105 of file jriext.h.

                            {
    JRIRTMode_Unrestricted, /* no C level runtime checks */
    JRIRTMode_None          /* no runtime access allowed */
} JRIRTModeFlags;
Enumerator:
JRIVerifyNone 
JRIVerifyRemote 
JRIVerifyAll 

Definition at line 71 of file jriext.h.


Function Documentation


Variable Documentation