theConfig 10.0
Loading...
Searching...
No Matches
LcConfigC_Error_JV_API

LcConfigC - dealing with a native-errorMore...

+ Collaboration diagram for LcConfigC_Error_JV_API:

Functions

native LcErrorTypeE jvlcconfig.LcConfigC.ErrorType ()
  Java: LcErrorTypeE config.ErrorType() C-API
This function, which is implemented as a macro, returns the type of error that occurred during the last call to one of the read or write functions …
 
JNIEXPORT jobject JNICALL Java_jvlcconfig_LcConfigC_ErrorType (JNIEnv *env, jobject self)
  Java: LcErrorTypeE config.ErrorType() C-API
This function, which is implemented as a macro, returns the type of error that occurred during the last call to one of the read or write functions …
 

Detailed Description

LcConfigC - dealing with a native-error

Function Documentation

◆ ErrorType()

native LcErrorTypeE jvlcconfig.LcConfigC.ErrorType ( )

Java: LcErrorTypeE config.ErrorType() C-API
This function, which is implemented as a macro, returns the type of error that occurred during the last call to one of the read or write functions …

◆ Java_jvlcconfig_LcConfigC_ErrorType()

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

Java: LcErrorTypeE config.ErrorType() C-API
This function, which is implemented as a macro, returns the type of error that occurred during the last call to one of the read or write functions …

Definition at line 127 of file LcConfigC_jv.c.

127 {
128 LC_CFGN hdl = (LC_CFGN)pObj2Hdl(env,"LcConfigC",self);
129 JavaErrorCheck;
130 MkRtSetup_X(hdl);
131 enum LcErrorTypeE __retVal__L = LcConfigErrorType(hdl);
132 jobject __retVal__S = MK(pGetEnumFromString)(env,LC(Class_LcErrorTypeE),"Ljvlcconfig/LcErrorTypeE;",LcErrorTypeE_ToString(__retVal__L));
133 return __retVal__S;
134error:
135 return 0;
136}
const struct LcConfigS * LC_CFGN
class-shortcut for const struct LcConfigS *, all const shortcut using the XX_YYYC syntax (only for pu...
static enum LcErrorTypeE LcConfigErrorType(LC_CFGN config)
This function, which is implemented as a macro, returns the type of error that occurred during the la...
MK_STRN LcErrorTypeE_ToString(enum LcErrorTypeE value)
return the LcErrorTypeE as string …
LcErrorTypeE
error types
Definition LcEnum_lc.h:228
#define MkRtSetup_X(x)
Struct to represent the data from the LcConfigC …