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

tag: nhi1-release-250425 More...

#include "jni_h/jvmkkernel_MkLogFileC.h"
#include "LibMkKernel_private_jv.h"
+ Include dependency graph for MkLogFileC_jv.c:

Go to the source code of this file.

Macros

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

Functions

jobject jvmkkernel_MkLogFileC_ObjNew (MK_RT mkrt, JNIEnv *env, MK_LFL hdl)
 
static MK_UNUSED jobject jvmkkernel_MkLogFileC_ObjCreate (MK_RT mkrt, JNIEnv *env, MK_LFL hdl)
 
static MK_PTR jvmkkernel_MkLogFileC_selfCreate (MK_RT mkrt, MK_OBJ obj, MK_PTR envP)
 
JNIEXPORT jobject JNICALL Java_jvmkkernel_MkLogFileC_HandleResolve (JNIEnv *env, jclass class, jint netHdl)
  Java: [static] MkLogFileC MkLogFileC.HandleResolve(int netHdl) C-API
Handle-Resolve-Slot - return a MkLogFileC from netHdl or null if invalid…
 
JNIEXPORT jobject JNICALL Java_jvmkkernel_MkLogFileC_Next (JNIEnv *env, jobject self)
  Java: MkLogFileC lfl.Next() C-API
get next instance from linked-list of MkLogFileS type
 
JNIEXPORT jobject JNICALL Java_jvmkkernel_MkLogFileC_Prev (JNIEnv *env, jobject self)
  Java: MkLogFileC lfl.Prev() C-API
get previous instance from linked-list of MkLogFileS type
 
JNIEXPORT jobject JNICALL Java_jvmkkernel_MkLogFileC_Instances (JNIEnv *env, jclass class)
  Java: [static] MkLogFileC MkLogFileC.Instances() C-API
get head-instance from linked-list of MkLogFileS type …
 
JNIEXPORT jobject JNICALL Java_jvmkkernel_MkLogFileC_GetNull (JNIEnv *env, jclass class)
  Java: [static] MkLogFileC MkLogFileC.GetNull() C-API
Null-Slot - return a MkLogFileC typed NULL instance …
 
JNIEXPORT jlong JNICALL Java_jvmkkernel_MkLogFileC_CTOR (JNIEnv *env, jclass class, jobject fmtobj, jstring file)
  Java: [constructor,static] MkLogFileC MkLogFileC.Open(?MkObjectC fmtobj = null?, String file) C-API
open the log-file in append mode …
 
JNIEXPORT jobject JNICALL Java_jvmkkernel_MkLogFileC_Open (JNIEnv *env, jclass class, jobject fmtobj, jstring file)
  Java: [constructor,static] MkLogFileC MkLogFileC.Open(?MkObjectC fmtobj = null?, String file) C-API
open the log-file in append mode …
 
JNIEXPORT void JNICALL Java_jvmkkernel_MkLogFileC_WriteC (JNIEnv *env, jobject self, jstring text)
  Java: lfl.WriteC(String text) C-API
write to log-file
 
JNIEXPORT jstring JNICALL Java_jvmkkernel_MkLogFileC_GetFile (JNIEnv *env, jobject self)
  Java: String lfl.GetFile() C-API
get the log-file
 
void jvmkkernel_MkLogFileC_Init (MK_RT mkrt)
 

Detailed Description

tag: nhi1-release-250425

Definition in file MkLogFileC_jv.c.

Macro Definition Documentation

◆ ClassInit

#define ClassInit   \

Definition at line 31 of file MkLogFileC_jv.c.

31#define ClassInit \
32

◆ META_FILE_NAME

#define META_FILE_NAME   "MkLogFileC_jv.c"

Definition at line 10 of file MkLogFileC_jv.c.

Function Documentation

◆ jvmkkernel_MkLogFileC_Init()

void jvmkkernel_MkLogFileC_Init ( MK_RT mkrt)

Definition at line 207 of file MkLogFileC_jv.c.

207 {
209
210 MkLogFileC_TT->selfCreate = NS(MkLogFileC_selfCreate);
211 MkLogFileC_TT->selfUnlink = MK(AtomSelfUnlink);
212}
#define ClassInit
#define MkLogFileC_TT
class as MkTypeS-class-type, useable in a class-macro as: class##_TT …

◆ jvmkkernel_MkLogFileC_ObjCreate()

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

Definition at line 22 of file MkLogFileC_jv.c.

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

◆ jvmkkernel_MkLogFileC_ObjNew()

jobject jvmkkernel_MkLogFileC_ObjNew ( MK_RT mkrt,
JNIEnv * env,
MK_LFL hdl )

Definition at line 16 of file MkLogFileC_jv.c.

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

◆ jvmkkernel_MkLogFileC_selfCreate()

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

Definition at line 26 of file MkLogFileC_jv.c.

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