10#define META_FILE_NAME "MkLogFileC_jv.c"
12#include "jni_h/jvmkkernel_MkLogFileC.h"
13#include "LibMkKernel_private_jv.h"
27 JNIEnv *env = (JNIEnv*) envP;
28 return (*env)->NewObject(env, NS(Class_MkLogFileC), NS(MID_MkLogFileC_INIT), (jlong) obj, JNI_TRUE);
50 jobject __retVal__S = MK(MkLogFileC_ObjNew)(
MK_RT_CALL env,__retVal__L);
73 jobject __retVal__S = MK(MkLogFileC_ObjNew)(
MK_RT_CALL env,__retVal__L);
85 jobject __retVal__S = MK(MkLogFileC_ObjNew)(
MK_RT_CALL env,__retVal__L);
97 jobject __retVal__S = MK(MkLogFileC_ObjNew)(
MK_RT_CALL env,__retVal__L);
114 jobject __retVal__S = MK(MkLogFileC_ObjNew)(
MK_RT_CALL env,__retVal__L);
133 MK_STRN file_ptr = (file?(*env)->GetStringUTFChars(env,file,NULL):NULL);
136 MkErrorC_Check(NULL, errVal)
137 jlong __retVal__S = (jlong)lfh_out;
138 if (file_ptr) (*env)->ReleaseStringUTFChars(env,file,file_ptr);
150 MK_STRN file_ptr = (file?(*env)->GetStringUTFChars(env,file,NULL):NULL);
153 MkErrorC_Check(NULL, errVal)
154 jobject __retVal__S = MK(MkLogFileC_ObjCreate)(
MK_RT_CALL env,lfh_out);
155 if (file_ptr) (*env)->ReleaseStringUTFChars(env,file,file_ptr);
175 MK_STRN text_ptr = (text?(*env)->GetStringUTFChars(env,text,NULL):NULL);
178 MkErrorC_Check(hdl, errVal)
179 if (text_ptr) (*env)->ReleaseStringUTFChars(env,text,text_ptr);
193 MkErrorC_Check(hdl, errVal)
194 jstring __retVal__S = JC2O(env,file_out);
#define MK_UNUSED
mark unnused variables and functions
MkErrorE
collection for the different error-codes …
MK_PTRB * MK_PTR
generic pointer data-type
const MK_STRB * MK_STRN
constant string pointer data-type
#define MkLogFileHandleResolve(...)
const struct MkLogFileS * MK_LFLN
class-shortcut for const struct MkLogFileS *, all const shortcut using the XX_YYYC syntax (only for p...
static MK_LFL MkLogFilePrev(MK_LFL const lfl)
get previous instance from linked-list of MkLogFileS type
#define MkLogFileInstances()
struct MkLogFileS * MK_LFL
class-shortcut for struct MkLogFileS *, all shortcut using the XX_YYY syntax (only for public API) …
static MK_LFL MkLogFileNext(MK_LFL const lfl)
get next instance from linked-list of MkLogFileS type
static MK_LFL MkLogFileGetNull(void)
Null-Slot - return a MkLogFileC typed NULL instance …
#define MkLogFileC_TT
class as MkTypeS-class-type, useable in a class-macro as: class##_TT …
#define MkLogFileC_X2obj(x)
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_GetNull(JNIEnv *env, jclass class)
Java: [static] MkLogFileC MkLogFileC.GetNull() → C-API Null-Slot - return a MkLogFileC typed NUL...
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 - ret...
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 M...
#define MkLogFileOpen(...)
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-AP...
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-AP...
#define MkLogFileGetFile(...)
#define MkLogFileWriteC(...)
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 …
const struct MkObjectS * MK_OBJN
class-shortcut for const struct MkObjectS *, all const shortcut using the XX_YYYC syntax (only for pu...
define a MkLogFileC object …