theConfig 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - py - rb - jv - cc
Loading...
Searching...
No Matches
LcConfigC_Error_C_API

LcConfigC - dealing with a native-errorMore...

+ Collaboration diagram for LcConfigC_Error_C_API:

Functions

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

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

Detailed Description

LcConfigC - dealing with a native-error

Function Documentation

◆ LcConfigErrorType()

enum LcErrorTypeE LcConfigErrorType ( LC_CFGN config)
inline

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 223 of file LcConfigC_lc.h.

223 {
224 LC_INSTANCE_HDL(config);
225 return (enum LcErrorTypeE)config_error_type(config->nat);
226 }
LcErrorTypeE
error types
Definition LcEnum_lc.h:245
#define LC_INSTANCE_HDL(x)
#define config_error_type(C)
config_t * nat
internal - link between LcConfigS and native library

◆ LcConfigErrorTypeP()

LC_EXTERN enum LcErrorTypeE LcConfigErrorTypeP ( LC_CFGN config)

Non-inline replacement for LcConfigErrorType