66 #define LcSettingC_SIGNATURE (MkObjectC_SIGNATURE ^ (16u<<10))
67 #define LcSettingC_MASK (((1u<<22)-1)<<10)
75 #define LcSettingC_X2cfs(x) (x)
76 #define LcSettingC_X2obj(x) MkOBJ(x)
91 #define LcSettingC_T ( (struct MkSuperTypeS *) (LcSettingC_TT) )
93 #define LcSettingST LcSettingC_T
95 #define LcSettingSTT (MkTYP(LcSettingST))
97 #define LcSettingC_type LC_CFS
99 #define LcSettingCT_X(instance) ( (struct MkSuperTypeS *) (MkOBJ_R(instance).type) )
101 #define LcSettingCTT_X(instance) (MkOBJ_R(instance).type)
103 #define LcSettingCT_TT(typ) ( (struct MkSuperTypeS *) (typ) )
105 #define LcSettingC_NS LC
107 #define LcSettingCTT LcSettingCTT
109 #define LcSettingCT ( (struct MkSuperTypeS *) LcSettingCTT )
117 #pragma GCC diagnostic push
118 #pragma GCC diagnostic ignored "-Wattributes"
136 #pragma GCC diagnostic pop
137 #define LcSettingC_Check(mng) LcCfsCheck(mng)
147 META_ATTRIBUTE_SANITIZE
155 META_ATTRIBUTE_SANITIZE
162 #define LcCfsRaise(_cfs) if (!_MkCheckX(LcSettingC,_cfs)) { \
163 MkErrorSetC_1E("'LcSettingC' hdl is NULL"); \
168 #define LcCFS_R(x) (*(x)).super.cfs
170 #define LcCFS(x) (&LcCFS_R(x))
186#define LcGetCfsFromNat(_nat) LC_SET_T(LcSettingC,config_setting_get_hook,_nat)
197__parser__push__(doc-group=_ignore_,doc-index=Class,doc-name=Export,
class=LcSettingC);
264#define LcSettingHandleResolve_e(netHdl) ({ \
265 MK_HDL tmpHdl=netHdl; \
270 tmp=LcSettingHandleResolve(tmpHdl); \
272 MkErrorSetC_1_NULL("ERROR: 'LcSettingC' handle is 'NULL'"); \
287 __parser__(flags=
new,doc-group=_ignore_,doc-index=Class,doc-name=Misc,
class=LcSettingC,null-
return-allow)
308__parser__push__(doc-name=Introspection,doc-index=Class,
class=LcSettingC,no-rpc,null-
return-allow,flags=
new);
LibLcConfig_lc.h - 16 Nov 2024 - aotto1968.
#define LcGetCfsFromNat(_nat)
helper for LcSettingC_ObjNew …
static MK_HDL LcSettingHandleGet_RT(MK_RT mkrt, LC_CFS const cfs)
Handle-Get-Slot - returns a export-hdl to the LcSettingC useable for external storage
static LC_CFS LcSettingPrev(LC_CFS const cfs)
get previous instance from linked-list of LcSettingS type
static LC_CFS LcSettingNext(LC_CFS const cfs)
get next instance from linked-list of LcSettingS type
static LC_CFS LcSettingInstances_RT(MK_RT mkrt)
get head-instance from linked-list of LcSettingS type …
static LC_CFS LcSettingHandleResolve_RT(MK_RT mkrt, MK_HDL const netHdl)
Handle-Resolve-Slot - return a LcSettingC from netHdl or MK_NULL if invalid…
static MK_ARTIFICIAL LC_CFS LcSettingC_ObjNew(config_setting_t *hdl)
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
static LC_CFS LcSettingGetNull(void)
Null-Slot - return a LcSettingC typed NULL instance …
static LC_CFS LcSettingC_ObjCreate(config_setting_t *hdl)
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
__thread MK_TYP LcSettingC_TT
class as MkSuperTypeS-class-type …
static LC_CFS LcCfs(MK_MNG mng)
cast a unknown-object into an LcSettingS pointer or NULL if not possible
static bool LcCfsCheckO(MK_OBJN obj)
check LcSettingS -> MkObjectS::signature …
static LC_CFSN LcCfsN(MK_MNGN mng)
(const) cast a unknown-object into an LcSettingS pointer or NULL if not possible
#define LcSettingC_X2obj(x)
static bool LcCfsCheck(MK_MNGN mng)
check LcSettingS -> MkObjectS::signature …
#define __parser__push__(...)
#define MkSanitizeCheck(_root, _m)
#define MkSanitizeCheckO(_root, _o)
#define MkObjectHandleResolve(...)
#define MkObjectHandleGet(...)
#define MK_ATTR_RT_INSTANCE
#define MK_PARSER_RT_ONLY
#define MK_ATTR_RT_STATIC
#define MK_INSTANCE_HDL(x)
Struct to represent the data from the LcSettingC …
union LcSettingS::@0 super
config_setting_t * nat
internal - link between LcSettingS and native library