theConfig 10.0
Loading...
Searching...
No Matches
LibLcConfig_cs.c
Go to the documentation of this file.
1
9/* LABEL-START */
10
11#define META_FILE_NAME "LibLcConfig_cs.c"
12
13/* LABEL-END */
14
15#include "LibLcConfig_cs.h"
16
19 LcCsTypeLookupE const typeL,
20 MkSelfCreateF const selfCTOR,
21 MkSelfUnlinkF const selfUnlink
22) {
24 MK_TYP type = NULL;
25 switch (typeL) {
26 // BEGIN-CLS - created by 'cs_PreMeta.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
27
28 case LC_CS_TYPE_LOOKUP_CFG : type = LcConfigC_TT ; break;
29 case LC_CS_TYPE_LOOKUP_CFS : type = LcSettingC_TT ; break;
30
31 // END-CLS - created by 'cs_PreMeta.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
32 default: MkPanicV_1("get invalid type enum '%d' not part of 'LcCsTypeLookupE'", typeL);
33 }
34 assert(type != NULL);
35 type->selfCreate = selfCTOR;
36 type->selfUnlink = selfUnlink;
37}
38
39// vim: tabstop=8
void LcCsTypeUpdate_RT(MK_RT mkrt, LcCsTypeLookupE const typeL, MkSelfCreateF const selfCTOR, MkSelfUnlinkF const selfUnlink)
__thread MK_TYP LcConfigC_TT
class as MkTypeDefS-class-type …
__thread MK_TYP LcSettingC_TT
class as MkTypeDefS-class-type …
#define MkPanicV_1(printfmt,...)
void(* MkSelfUnlinkF)(MK_RT mkrt, MK_PTR self, MK_PTR const env)
MK_PTR(* MkSelfCreateF)(MK_RT mkrt, MK_OBJ const obj, MK_PTR const env)
#define MkRtSetup_NULL_RT
#define MK_RT_ARGS
MkSelfUnlinkF selfUnlink
MkSelfCreateF selfCreate