theKernel 10.0
Loading...
Searching...
No Matches
MkErrorC_TOR_JV_API

MkErrorC - various functions to 'create' and 'delete' a MkErrorSMore...

+ Collaboration diagram for MkErrorC_TOR_JV_API:

Functions

native MkErrorC jvmkkernel.MkErrorC.Dup ()
  Java: [constructor] MkErrorC srce.Dup() C-API
Dup-Constructor - create a new MkErrorC instance as copy from an existing MkErrorC instance …
 
native void jvmkkernel.MkErrorC.Copy (MkErrorC srce)
  Java: dest.Copy(MkErrorC srce) C-API
Copy-Constructor - sync an existing MkErrorC instance with the values from an existing MkErrorC instance …
 
JNIEXPORT jobject JNICALL Java_jvmkkernel_MkErrorC_Dup (JNIEnv *env, jobject self)
  Java: [constructor] MkErrorC srce.Dup() C-API
Dup-Constructor - create a new MkErrorC instance as copy from an existing MkErrorC instance …
 
JNIEXPORT void JNICALL Java_jvmkkernel_MkErrorC_Copy (JNIEnv *env, jobject self, jobject srce)
  Java: dest.Copy(MkErrorC srce) C-API
Copy-Constructor - sync an existing MkErrorC instance with the values from an existing MkErrorC instance …
 

Detailed Description

MkErrorC - various functions to 'create' and 'delete' a MkErrorS

Function Documentation

◆ Copy()

native void jvmkkernel.MkErrorC.Copy ( MkErrorC srce)

Java: dest.Copy(MkErrorC srce) C-API
Copy-Constructor - sync an existing MkErrorC instance with the values from an existing MkErrorC instance …

◆ Dup()

native MkErrorC jvmkkernel.MkErrorC.Dup ( )

Java: [constructor] MkErrorC srce.Dup() C-API
Dup-Constructor - create a new MkErrorC instance as copy from an existing MkErrorC instance …

◆ Java_jvmkkernel_MkErrorC_Copy()

JNIEXPORT void JNICALL Java_jvmkkernel_MkErrorC_Copy ( JNIEnv * env,
jobject self,
jobject srce )

Java: dest.Copy(MkErrorC srce) C-API
Copy-Constructor - sync an existing MkErrorC instance with the values from an existing MkErrorC instance …

Definition at line 633 of file MkErrorC_jv.c.

633 {
634 MK_ERR hdl = (MK_ERR)pObj2Hdl(env,"MkErrorC",self);
635 JavaErrorCheck;
636 MkRtSetup_X(hdl);
637 MK_ERRN srce_hdl = (MK_ERRN)pObj2Hdl(env,"MkErrorC",srce);
638 JavaErrorCheck;
639 MkErrorCopy(hdl, srce_hdl);
640error:
641 return;
642}
const struct MkErrorS * MK_ERRN
class-shortcut for const struct MkErrorS *, all const shortcut using the XX_YYYC syntax (only for pub...
struct MkErrorS * MK_ERR
class-shortcut for struct MkErrorS *, all shortcut using the XX_YYY syntax (only for public API) …
#define MkErrorCopy(...)
#define MkRtSetup_X(x)
The data-type to store and handle the error-condition …

◆ Java_jvmkkernel_MkErrorC_Dup()

JNIEXPORT jobject JNICALL Java_jvmkkernel_MkErrorC_Dup ( JNIEnv * env,
jobject self )

Java: [constructor] MkErrorC srce.Dup() C-API
Dup-Constructor - create a new MkErrorC instance as copy from an existing MkErrorC instance …

Definition at line 615 of file MkErrorC_jv.c.

615 {
616 MK_ERRN hdl = (MK_ERRN)pObj2Hdl(env,"MkErrorC",self);
617 JavaErrorCheck;
618 MkRtSetup_X(hdl);
619 MK_ERR __retVal__L = MkErrorDup(hdl);
620 if (__retVal__L == NULL) {
621 (*env)->ThrowNew(env, MK(Class_MkInitError), "MkErrorC.Dup");
622 goto error;
623 }
624 jobject __retVal__S = MK(MkErrorC_ObjCreate)(MK_RT_CALL env,__retVal__L);
625 return __retVal__S;
626error:
627 return 0;
628}
#define MkErrorDup(...)
#define MK_RT_CALL