13#define META_FILE_NAME "MkRuntimeC_jv.c"
15#include "jni_h/jvmkkernel_MkRuntimeC.h"
16#include "LibMkKernel_private_jv.h"
30 JNIEnv *env = (JNIEnv*) envP;
31 return (*env)->NewObject(env, NS(Class_MkRuntimeC), NS(MID_MkRuntimeC_INIT), (jlong) obj, JNI_TRUE);
53 jint __retVal__S = __retVal__L;
61 jobject __retVal__S = MK(pGetEnumFromString)(env,MK(Class_MkErrorE),
"Ljvmkkernel/MkErrorE;",
MkErrorE_ToString(errVal));
69 jboolean __retVal__S = __retVal__L;
77 jstring __retVal__S = JC2O(env,__retVal__L);
96 MK_STRN logfile_ptr = (logfile?(*env)->GetStringUTFChars(env,logfile,NULL):NULL);
99 MkErrorC_Check(NULL, errVal)
100 if (logfile_ptr) (*env)->ReleaseStringUTFChars(env,logfile,logfile_ptr);
#define MK_UNUSED
mark unnused variables and functions
MkErrorE
collection for the different error-codes …
MK_STRN MkErrorE_ToString(enum MkErrorE value)
return the MkErrorE as string …
MK_PTRB * MK_PTR
generic pointer data-type
const MK_STRB * MK_STRN
constant string pointer data-type
bool MK_BOOL
real bool data-type
signed int MK_I32
4 byte integer data-type
#define MkRuntimeC_TT
class as MkTypeS-class-type, useable in a class-macro as: class##_TT …
#define MkRuntimeC_X2obj(x)
static void MkRuntimeSetDebug(MK_I32 dbg)
set the MkRuntimeS::debug value …
#define MkRuntimeGetErrorCode()
static MK_STRN MkRuntimeGetLogfile(void)
get the MkRuntimeS::logfile value …
static MK_I32 MkRuntimeGetDebug(void)
get the MkRuntimeS::debug value …
static bool MkRuntimeGetIsSilent(void)
get the MkRuntimeS::isSilent value …
#define MkRuntimeSetIsSilent(...)
#define MkRuntimeSetLogfile(...)
JNIEXPORT jint JNICALL Java_jvmkkernel_MkRuntimeC_GetDebug(JNIEnv *env, jclass class)
Java: [static] int MkRuntimeC.GetDebug() → C-API get the MkRuntimeS::debug value …
JNIEXPORT jboolean JNICALL Java_jvmkkernel_MkRuntimeC_GetIsSilent(JNIEnv *env, jclass class)
Java: [static] boolean MkRuntimeC.GetIsSilent() → C-API get the MkRuntimeS::isSilent value …
JNIEXPORT jstring JNICALL Java_jvmkkernel_MkRuntimeC_GetLogfile(JNIEnv *env, jclass class)
Java: [static] String MkRuntimeC.GetLogfile() → C-API get the MkRuntimeS::logfile value …
JNIEXPORT void JNICALL Java_jvmkkernel_MkRuntimeC_SetIsSilent(JNIEnv *env, jclass class, jboolean silent)
Java: [static] MkRuntimeC.SetIsSilent(boolean silent) → C-API set the MkRuntimeS::isSilent value...
JNIEXPORT void JNICALL Java_jvmkkernel_MkRuntimeC_SetDebug(JNIEnv *env, jclass class, jint dbg)
Java: [static] MkRuntimeC.SetDebug(int dbg) → C-API set the MkRuntimeS::debug value …
JNIEXPORT jobject JNICALL Java_jvmkkernel_MkRuntimeC_GetErrorCode(JNIEnv *env, jclass class)
Java: [static] MkErrorE MkRuntimeC.GetErrorCode() → C-API return MkErrorS::code from a given MkR...
JNIEXPORT void JNICALL Java_jvmkkernel_MkRuntimeC_SetLogfile(JNIEnv *env, jclass class, jstring logfile)
Java: [static] MkRuntimeC.SetLogfile(String logfile) → C-API set the MkRuntimeS::logfile value a...
The MkRuntimeS provide a per-thread environment for jvmkkernel …