theKernel 10.0
Loading...
Searching...
No Matches
MkRuntimeC_jv.c File Reference

tag: nhi1-release-250425 More...

#include "jni_h/jvmkkernel_MkRuntimeC.h"
#include "LibMkKernel_private_jv.h"
+ Include dependency graph for MkRuntimeC_jv.c:

Go to the source code of this file.

Macros

#define META_FILE_NAME   "MkRuntimeC_jv.c"
 
#define ClassInit   \
 

Functions

jobject jvmkkernel_MkRuntimeC_ObjNew (MK_RT mkrt, JNIEnv *env, MK_RT hdl)
 
static MK_UNUSED jobject jvmkkernel_MkRuntimeC_ObjCreate (MK_RT mkrt, JNIEnv *env, MK_RT hdl)
 
static MK_PTR jvmkkernel_MkRuntimeC_selfCreate (MK_RT mkrt, MK_OBJ obj, MK_PTR envP)
 
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 …
 
JNIEXPORT void JNICALL Java_jvmkkernel_MkRuntimeC_Log0 (JNIEnv *env, jclass class, jobject fmtobj, jint debug, jstring callfunc, jint lvl)
  Java: [static] MkRuntimeC.Log0(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkRuntimeC
 
void jvmkkernel_MkRuntimeC_Init (MK_RT mkrt)
 

Detailed Description

tag: nhi1-release-250425

Definition in file MkRuntimeC_jv.c.

Macro Definition Documentation

◆ ClassInit

#define ClassInit   \

Definition at line 31 of file MkRuntimeC_jv.c.

31#define ClassInit \
32

◆ META_FILE_NAME

#define META_FILE_NAME   "MkRuntimeC_jv.c"

Definition at line 10 of file MkRuntimeC_jv.c.

Function Documentation

◆ jvmkkernel_MkRuntimeC_Init()

void jvmkkernel_MkRuntimeC_Init ( MK_RT mkrt)

Definition at line 151 of file MkRuntimeC_jv.c.

151 {
153
154 MkRuntimeC_TT->selfCreate = NS(MkRuntimeC_selfCreate);
155 MkRuntimeC_TT->selfUnlink = MK(AtomSelfUnlink);
156}
#define ClassInit
#define MkRuntimeC_TT
class as MkTypeS-class-type, useable in a class-macro as: class##_TT …

◆ jvmkkernel_MkRuntimeC_ObjCreate()

static MK_UNUSED jobject jvmkkernel_MkRuntimeC_ObjCreate ( MK_RT mkrt,
JNIEnv * env,
MK_RT hdl )
static

Definition at line 22 of file MkRuntimeC_jv.c.

22 {
23 return MK(AtomObjCreate)(MK_RT_CALL env, MkRuntimeC_X2obj(hdl));
24}
#define MkRuntimeC_X2obj(x)
#define MK_RT_CALL

◆ jvmkkernel_MkRuntimeC_ObjNew()

jobject jvmkkernel_MkRuntimeC_ObjNew ( MK_RT mkrt,
JNIEnv * env,
MK_RT hdl )

Definition at line 16 of file MkRuntimeC_jv.c.

16 {
17 static MkThreadLocal jobject NS_NULL = NULL;
18 return (hdl ? MK(AtomObjNew)(MK_RT_CALL env, MkRuntimeC_X2obj(hdl)) : MK_GET__NS_NULL(MkRuntimeC));
19}
#define MkThreadLocal

◆ jvmkkernel_MkRuntimeC_selfCreate()

static MK_PTR jvmkkernel_MkRuntimeC_selfCreate ( MK_RT mkrt,
MK_OBJ obj,
MK_PTR envP )
static

Definition at line 26 of file MkRuntimeC_jv.c.

26 {
27 JNIEnv *env = (JNIEnv*) envP;
28 return (*env)->NewObject(env, NS(Class_MkRuntimeC), NS(MID_MkRuntimeC_INIT), (jlong) obj, JNI_TRUE);
29}