theKernel 10.0
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.DebugGet ()
  Java: [static] int MkRuntimeC.DebugGet() C-API
get the MkRuntimeS::debug value …
 
static native void jvmkkernel.MkRuntimeC.DebugSet (int dbg)
  Java: [static] MkRuntimeC.DebugSet(int dbg) C-API
set the MkRuntimeS::debug value …
 
static native MkErrorE jvmkkernel.MkRuntimeC.ErrorGetCode ()
  Java: [static] MkErrorE MkRuntimeC.ErrorGetCode() C-API
return MkErrorS.code from a given MkRuntimeC
 
static native boolean jvmkkernel.MkRuntimeC.IsSilentGet ()
  Java: [static] boolean MkRuntimeC.IsSilentGet() C-API
get the MkRuntimeS::isSilent value …
 
static native void jvmkkernel.MkRuntimeC.IsSilentSet (boolean silent)
  Java: [static] MkRuntimeC.IsSilentSet(boolean silent) C-API
set the MkRuntimeS::isSilent value …
 
static native String jvmkkernel.MkRuntimeC.LogTargetGet ()
  Java: [static] String MkRuntimeC.LogTargetGet() C-API
get the MkLogDataS::logNAME value …
 
static native void jvmkkernel.MkRuntimeC.LogTargetReset ()
  Java: [static] MkRuntimeC.LogTargetReset() C-API
set the MkRuntimeS::log value to the DEFAULT value …
 
static native void jvmkkernel.MkRuntimeC.LogTargetSet (String logTgt)
  Java: [static] MkRuntimeC.LogTargetSet(String logTgt) C-API
set the MkRuntimeS::log value and cleanup old value …
 
static native void jvmkkernel.MkRuntimeC.NoDecoSet (boolean noDeco)
  Java: [static] MkRuntimeC.NoDecoSet(boolean noDeco) C-API
set the MkRuntimeS::noDeco value …
 
JNIEXPORT jint JNICALL Java_jvmkkernel_MkRuntimeC_DebugGet (JNIEnv *env, jclass class)
  Java: [static] int MkRuntimeC.DebugGet() C-API
get the MkRuntimeS::debug value …
 
JNIEXPORT void JNICALL Java_jvmkkernel_MkRuntimeC_DebugSet (JNIEnv *env, jclass class, jint dbg)
  Java: [static] MkRuntimeC.DebugSet(int dbg) C-API
set the MkRuntimeS::debug value …
 
JNIEXPORT jobject JNICALL Java_jvmkkernel_MkRuntimeC_ErrorGetCode (JNIEnv *env, jclass class)
  Java: [static] MkErrorE MkRuntimeC.ErrorGetCode() C-API
return MkErrorS::code from a given MkRuntimeC
 
JNIEXPORT jboolean JNICALL Java_jvmkkernel_MkRuntimeC_IsSilentGet (JNIEnv *env, jclass class)
  Java: [static] boolean MkRuntimeC.IsSilentGet() C-API
get the MkRuntimeS::isSilent value …
 
JNIEXPORT void JNICALL Java_jvmkkernel_MkRuntimeC_IsSilentSet (JNIEnv *env, jclass class, jboolean silent)
  Java: [static] MkRuntimeC.IsSilentSet(boolean silent) C-API
set the MkRuntimeS::isSilent value …
 
JNIEXPORT jstring JNICALL Java_jvmkkernel_MkRuntimeC_LogTargetGet (JNIEnv *env, jclass class)
  Java: [static] String MkRuntimeC.LogTargetGet() C-API
get the MkLogDataS::logNAME value …
 
JNIEXPORT void JNICALL Java_jvmkkernel_MkRuntimeC_LogTargetReset (JNIEnv *env, jclass class)
  Java: [static] MkRuntimeC.LogTargetReset() C-API
set the MkRuntimeS::log value to the DEFAULT value …
 
JNIEXPORT void JNICALL Java_jvmkkernel_MkRuntimeC_LogTargetSet (JNIEnv *env, jclass class, jstring logTgt)
  Java: [static] MkRuntimeC.LogTargetSet(String logTgt) C-API
set the MkRuntimeS::log value and cleanup old value …
 
JNIEXPORT void JNICALL Java_jvmkkernel_MkRuntimeC_NoDecoSet (JNIEnv *env, jclass class, jboolean noDeco)
  Java: [static] MkRuntimeC.NoDecoSet(boolean noDeco) C-API
set the MkRuntimeS::noDeco 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

◆ DebugGet()

static native int jvmkkernel.MkRuntimeC.DebugGet ( )
static

◆ DebugSet()

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

◆ ErrorGetCode()

static native MkErrorE jvmkkernel.MkRuntimeC.ErrorGetCode ( )
static

◆ IsSilentGet()

static native boolean jvmkkernel.MkRuntimeC.IsSilentGet ( )
static

◆ IsSilentSet()

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

◆ Java_jvmkkernel_MkRuntimeC_DebugGet()

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

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

Definition at line 47 of file MkRuntimeC_jv.c.

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

◆ Java_jvmkkernel_MkRuntimeC_DebugSet()

JNIEXPORT void JNICALL Java_jvmkkernel_MkRuntimeC_DebugSet ( JNIEnv * env,
jclass class,
jint dbg )

Java: [static] MkRuntimeC.DebugSet(int dbg) C-API
set the MkRuntimeS::debug value …

Definition at line 55 of file MkRuntimeC_jv.c.

55 {
58}
static void MkRuntimeDebugSet(MK_I32 dbg)
set the MkRuntimeS::debug value …

◆ Java_jvmkkernel_MkRuntimeC_ErrorGetCode()

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

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

Definition at line 61 of file MkRuntimeC_jv.c.

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

◆ Java_jvmkkernel_MkRuntimeC_IsSilentGet()

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

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

Definition at line 69 of file MkRuntimeC_jv.c.

69 {
71 MK_BOOL __retVal__L = MkRuntimeIsSilentGet();
72 jboolean __retVal__S = __retVal__L;
73 return __retVal__S;
74}
bool MK_BOOL
real bool data-type
static bool MkRuntimeIsSilentGet(void)
get the MkRuntimeS::isSilent value …

◆ Java_jvmkkernel_MkRuntimeC_IsSilentSet()

JNIEXPORT void JNICALL Java_jvmkkernel_MkRuntimeC_IsSilentSet ( JNIEnv * env,
jclass class,
jboolean silent )

Java: [static] MkRuntimeC.IsSilentSet(boolean silent) C-API
set the MkRuntimeS::isSilent value …

Definition at line 77 of file MkRuntimeC_jv.c.

77 {
80}
#define MkRuntimeIsSilentSet(...)

◆ Java_jvmkkernel_MkRuntimeC_LogTargetGet()

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

Java: [static] String MkRuntimeC.LogTargetGet() C-API
get the MkLogDataS::logNAME value …

Definition at line 83 of file MkRuntimeC_jv.c.

83 {
85 MK_STRN __retVal__L = MkRuntimeLogTargetGet();
86 jstring __retVal__S = JC2O(env,__retVal__L);
87 return __retVal__S;
88}
const MK_STRB * MK_STRN
constant string pointer data-type
static MK_STRN MkRuntimeLogTargetGet(void)
get the MkLogDataS::logNAME value …

◆ Java_jvmkkernel_MkRuntimeC_LogTargetReset()

JNIEXPORT void JNICALL Java_jvmkkernel_MkRuntimeC_LogTargetReset ( JNIEnv * env,
jclass class )

Java: [static] MkRuntimeC.LogTargetReset() C-API
set the MkRuntimeS::log value to the DEFAULT value …

Definition at line 91 of file MkRuntimeC_jv.c.

91 {
93 enum MkErrorE errVal = MkRuntimeLogTargetReset();
94 MkErrorC_Check(NULL, errVal)
95error:
96 return;
97}
#define MkRuntimeLogTargetReset()

◆ Java_jvmkkernel_MkRuntimeC_LogTargetSet()

JNIEXPORT void JNICALL Java_jvmkkernel_MkRuntimeC_LogTargetSet ( JNIEnv * env,
jclass class,
jstring logTgt )

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

Definition at line 100 of file MkRuntimeC_jv.c.

100 {
102 MK_STRN logTgt_ptr = (logTgt?(*env)->GetStringUTFChars(env,logTgt,NULL):NULL);
103 JavaErrorCheck;
104 enum MkErrorE errVal = MkRuntimeLogTargetSet(logTgt_ptr);
105 MkErrorC_Check(NULL, errVal)
106 if (logTgt_ptr) (*env)->ReleaseStringUTFChars(env,logTgt,logTgt_ptr);
107error:
108 return;
109}
#define MkRuntimeLogTargetSet(...)

◆ Java_jvmkkernel_MkRuntimeC_NoDecoSet()

JNIEXPORT void JNICALL Java_jvmkkernel_MkRuntimeC_NoDecoSet ( JNIEnv * env,
jclass class,
jboolean noDeco )

Java: [static] MkRuntimeC.NoDecoSet(boolean noDeco) C-API
set the MkRuntimeS::noDeco value …

Definition at line 112 of file MkRuntimeC_jv.c.

112 {
114 MkRuntimeNoDecoSet(noDeco);
115}
#define MkRuntimeNoDecoSet(...)

◆ LogTargetGet()

static native String jvmkkernel.MkRuntimeC.LogTargetGet ( )
static

◆ LogTargetReset()

static native void jvmkkernel.MkRuntimeC.LogTargetReset ( )
static

Java: [static] MkRuntimeC.LogTargetReset() C-API
set the MkRuntimeS::log value to the DEFAULT value …

◆ LogTargetSet()

static native void jvmkkernel.MkRuntimeC.LogTargetSet ( String logTgt)
static

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

◆ NoDecoSet()

static native void jvmkkernel.MkRuntimeC.NoDecoSet ( boolean noDeco)
static