theConfig 10.0
Loading...
Searching...
No Matches
LcConfigC_Error_C_API

LcConfigC - dealing with a native-errorMore...

+ Collaboration diagram for LcConfigC_Error_C_API:

Functions

static enum LcErrorTypeE LcConfigErrorType (LC_CFGN config)
 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 …
 

LcConfigC - LcConfigC_Error_C_API - function

enum LcErrorTypeE LcConfigErrorTypeP (LC_CFGN config)
 Non-inline replacement for LcConfigErrorType
 

Detailed Description

LcConfigC - dealing with a native-error

Function Documentation

◆ LcConfigErrorType()

static enum LcErrorTypeE LcConfigErrorType ( LC_CFGN config)
inlinestatic

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 …

The LcErrorTypeE type is an enumeration with the following values: CONFIG_ERR_NONE, CONFIG_ERR_FILE_IO, CONFIG_ERR_PARSE. These represent success, a file I/O error, and a parsing error, respectively.

Definition at line 206 of file LcConfigC_lc.h.

206 {
207 LC_INSTANCE_HDL(config);
208 return (enum LcErrorTypeE)config_error_type(config->nat);
209 }
LcErrorTypeE
error types
Definition LcEnum_lc.h:228
#define LC_INSTANCE_HDL(x)
#define config_error_type(C)
config_t * nat
internal - link between LcConfigS and native library

◆ LcConfigErrorTypeP()

enum LcErrorTypeE LcConfigErrorTypeP ( LC_CFGN config)

Non-inline replacement for LcConfigErrorType