theKernel 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - cs - py - rb - jv - cc
Loading...
Searching...
No Matches
MkRuntimeC_Config_JV_API

MkRuntimeC - various functions to configure the MkRuntimeRLS (only C) … More...

+ Collaboration diagram for MkRuntimeC_Config_JV_API:

Functions

static native int jvmkkernel.MkRuntimeC.GetDebug ()
  Java: [static] int MkRuntimeC.GetDebug() C-API
get the MkRuntimeS::debug value …
 
static native MkErrorE jvmkkernel.MkRuntimeC.GetErrorCode ()
  Java: [static] MkErrorE MkRuntimeC.GetErrorCode() C-API
return MkErrorS.code from a given MkRuntimeC
 
static native boolean jvmkkernel.MkRuntimeC.GetIsSilent ()
  Java: [static] boolean MkRuntimeC.GetIsSilent() C-API
get the MkRuntimeS::isSilent value …
 
static native String jvmkkernel.MkRuntimeC.GetLogfile ()
  Java: [static] String MkRuntimeC.GetLogfile() C-API
get the MkRuntimeS::logfile value …
 
static native void jvmkkernel.MkRuntimeC.SetDebug (int dbg)
  Java: [static] MkRuntimeC.SetDebug(int dbg) C-API
set the MkRuntimeS::debug value …
 
static native void jvmkkernel.MkRuntimeC.SetIsSilent (boolean silent)
  Java: [static] MkRuntimeC.SetIsSilent(boolean silent) C-API
set the MkRuntimeS::isSilent value …
 
static native void jvmkkernel.MkRuntimeC.SetLogfile (String logfile)
  Java: [static] MkRuntimeC.SetLogfile(String logfile) C-API
set the MkRuntimeS::logfile value and cleanup old value …
 
JNIEXPORT jint JNICALL Java_jvmkkernel_MkRuntimeC_GetDebug (JNIEnv *env, jclass class)
  Java: [static] int MkRuntimeC.GetDebug() C-API
get 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 MkRuntimeC
 
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_SetDebug (JNIEnv *env, jclass class, jint dbg)
  Java: [static] MkRuntimeC.SetDebug(int dbg) C-API
set the MkRuntimeS::debug 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_SetLogfile (JNIEnv *env, jclass class, jstring logfile)
  Java: [static] MkRuntimeC.SetLogfile(String logfile) C-API
set the MkRuntimeS::logfile value and cleanup old value …
 

Detailed Description

MkRuntimeC - various functions to configure the MkRuntimeRLS (only C) …

The MkRuntimeRLS-configuration belongs to a single MkRuntimeRLS. In a threadable application, each thread has its own MkRuntimeRLS and therefore its own configuration.

A function ending in 'I' is the inline variant of the function without the 'I' and is preferred in C.

The MkRuntimeRLS-configuration belongs to a single MkRuntimeRLS. In a threadable application, each thread has its own MkRuntimeRLS and therefore its own configuration.

A function ending in 'I' is the inline variant of the function without the 'I' and is preferred in C.

The MkRuntimeRLS-configuration belongs to a single MkRuntimeRLS. In a threadable application, each thread has its own MkRuntimeRLS and therefore its own configuration.

A function ending in 'I' is the inline variant of the function without the 'I' and is preferred in C.

Function Documentation

◆ GetDebug()

static native int jvmkkernel.MkRuntimeC.GetDebug ( )
static

◆ GetErrorCode()

static native MkErrorE jvmkkernel.MkRuntimeC.GetErrorCode ( )
static

◆ GetIsSilent()

static native boolean jvmkkernel.MkRuntimeC.GetIsSilent ( )
static

◆ GetLogfile()

static native String jvmkkernel.MkRuntimeC.GetLogfile ( )
static

◆ Java_jvmkkernel_MkRuntimeC_GetDebug()

JNIEXPORT jint JNICALL Java_jvmkkernel_MkRuntimeC_GetDebug ( JNIEnv * env,
jclass class )

Java: [static] int MkRuntimeC.GetDebug() C-API
get the MkRuntimeS::debug value …

Definition at line 50 of file MkRuntimeC_jv.c.

50 {
52 MK_I32 __retVal__L = MkRuntimeGetDebug();
53 jint __retVal__S = __retVal__L;
54 return __retVal__S;
55}
signed int MK_I32
4 byte integer data-type
static MK_I32 MkRuntimeGetDebug(void)
get the MkRuntimeS::debug value …
#define MkRtSetup_NULL

◆ Java_jvmkkernel_MkRuntimeC_GetErrorCode()

JNIEXPORT jobject JNICALL Java_jvmkkernel_MkRuntimeC_GetErrorCode ( JNIEnv * env,
jclass class )

Java: [static] MkErrorE MkRuntimeC.GetErrorCode() C-API
return MkErrorS::code from a given MkRuntimeC

Definition at line 58 of file MkRuntimeC_jv.c.

58 {
60 enum MkErrorE errVal = MkRuntimeGetErrorCode();
61 jobject __retVal__S = MK(pGetEnumFromString)(env,MK(Class_MkErrorE),"Ljvmkkernel/MkErrorE;",MkErrorE_ToString(errVal));
62 return __retVal__S;
63}
MkErrorE
collection for the different error-codes …
MK_STRN MkErrorE_ToString(enum MkErrorE value)
return the MkErrorE as string …
#define MkRuntimeGetErrorCode()

◆ Java_jvmkkernel_MkRuntimeC_GetIsSilent()

JNIEXPORT jboolean JNICALL Java_jvmkkernel_MkRuntimeC_GetIsSilent ( JNIEnv * env,
jclass class )

Java: [static] boolean MkRuntimeC.GetIsSilent() C-API
get the MkRuntimeS::isSilent value …

Definition at line 66 of file MkRuntimeC_jv.c.

66 {
68 MK_BOOL __retVal__L = MkRuntimeGetIsSilent();
69 jboolean __retVal__S = __retVal__L;
70 return __retVal__S;
71}
bool MK_BOOL
real bool data-type
static bool MkRuntimeGetIsSilent(void)
get the MkRuntimeS::isSilent value …

◆ Java_jvmkkernel_MkRuntimeC_GetLogfile()

JNIEXPORT jstring JNICALL Java_jvmkkernel_MkRuntimeC_GetLogfile ( JNIEnv * env,
jclass class )

Java: [static] String MkRuntimeC.GetLogfile() C-API
get the MkRuntimeS::logfile value …

Definition at line 74 of file MkRuntimeC_jv.c.

74 {
76 MK_STRN __retVal__L = MkRuntimeGetLogfile();
77 jstring __retVal__S = JC2O(env,__retVal__L);
78 return __retVal__S;
79}
const MK_STRB * MK_STRN
constant string pointer data-type
static MK_STRN MkRuntimeGetLogfile(void)
get the MkRuntimeS::logfile value …

◆ Java_jvmkkernel_MkRuntimeC_SetDebug()

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 …

Definition at line 82 of file MkRuntimeC_jv.c.

82 {
85}
static void MkRuntimeSetDebug(MK_I32 dbg)
set the MkRuntimeS::debug value …

◆ Java_jvmkkernel_MkRuntimeC_SetIsSilent()

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 …

Definition at line 88 of file MkRuntimeC_jv.c.

88 {
91}
#define MkRuntimeSetIsSilent(...)

◆ Java_jvmkkernel_MkRuntimeC_SetLogfile()

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 and cleanup old value …

Definition at line 94 of file MkRuntimeC_jv.c.

94 {
96 MK_STRN logfile_ptr = (logfile?(*env)->GetStringUTFChars(env,logfile,NULL):NULL);
97 JavaErrorCheck;
98 enum MkErrorE errVal = MkRuntimeSetLogfile(logfile_ptr);
99 MkErrorC_Check(NULL, errVal)
100 if (logfile_ptr) (*env)->ReleaseStringUTFChars(env,logfile,logfile_ptr);
101error:
102 return;
103}
#define MkRuntimeSetLogfile(...)

◆ SetDebug()

static native void jvmkkernel.MkRuntimeC.SetDebug ( int dbg)
static

◆ SetIsSilent()

static native void jvmkkernel.MkRuntimeC.SetIsSilent ( boolean silent)
static

◆ SetLogfile()

static native void jvmkkernel.MkRuntimeC.SetLogfile ( String logfile)
static

Java: [static] MkRuntimeC.SetLogfile(String logfile) C-API
set the MkRuntimeS::logfile value and cleanup old value …