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

LcConfigC - various functions to create, initialize and destroy … More...

+ Collaboration diagram for LcConfigC_TOR_C_API:

Functions

static LC_CFG LcConfigCreate (MK_TYP type, config_t *nat)
 create a LcConfigC instance …
 
void LcConfigDelete_RT (MK_RT mkrt, LC_CFG const cfg)
 delete a LcConfigC instance …
 

LcConfigC - LcConfigC_TOR_C_API - function

LC_CFG LcConfigCreateP (void)
 Non-inline replacement for LcConfigCreate
 

LcConfigC - LcConfigC_TOR_C_API - overload

#define LcConfigCreate_0()
 
#define LcConfigDelete(x)
 

Detailed Description

LcConfigC - various functions to create, initialize and destroy …

Macro Definition Documentation

◆ LcConfigCreate_0

#define LcConfigCreate_0 ( )
Value:
LcConfigCreate(NULL,NULL)
static LC_CFG LcConfigCreate(MK_TYP type, config_t *nat)
create a LcConfigC instance …

Definition at line 146 of file config_overload_lc.h.

◆ LcConfigDelete

#define LcConfigDelete ( x)
Value:
void LcConfigDelete_RT(MK_RT mkrt, LC_CFG const cfg)
delete a LcConfigC instance …
#define MkObjectDeleteToNull(fct, NS, x)

Definition at line 149 of file config_overload_lc.h.

Function Documentation

◆ LcConfigCreate()

static LC_CFG LcConfigCreate ( MK_TYP type,
config_t * nat )
inlinestatic

create a LcConfigC instance …

Parameters
[in]typethe MkTypeS instance to work on - class-type with base LcConfigS - (default = "MK_NULL" = LcConfigS)
[in]natexternal nat pointer - (default: "MK_NULL" = internal)
Returns
instance of LcConfigC or "MK_NULL" if setup failed

Definition at line 42 of file LcConfigC_lc.h.

45 {
47 if (LcConfigC_TT == NULL) {
48 MkErrorSetC_1E("initialization failed, use 'LcConfig.Setup()' at startup");
49 return NULL;
50 }
51
52 if (type == NULL) type = LcConfigC_TT;
53 return (LC_CFG)MkObjCreate(type,nat,NULL);
54}
__thread MK_TYP LcConfigC_TT
class as MkSuperTypeS-class-type …
#define MkErrorSetC_1E(message)
#define MkObjCreate(...)
#define MkRtSetup_NULL
Struct to represent the data from the LcConfigC …
+ Here is the caller graph for this function:

◆ LcConfigCreateP()

LC_CFG LcConfigCreateP ( void )

Non-inline replacement for LcConfigCreate

◆ LcConfigDelete_RT()

void LcConfigDelete_RT ( MK_RT mkrt,
LC_CFG const cfg )

delete a LcConfigC instance …