theConfig 10.0
Loading...
Searching...
No Matches
LibLcConfig_py.h File Reference

tag: nhi1-release-250425 More...

+ Include dependency graph for LibLcConfig_py.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  LcConfigThreadStateS
 
struct  LcConfigC_Obj
 
struct  LcSettingC_Obj
 

Macros

#define HEADER
 
#define LC_PY_EXTERN
 static library
 
#define LC_PY_EXTERN_DATA   extern
 
#define LC(n)
 
#define NS(n)
 
#define LcConfigC_lngO   (&LC(LcConfigCR))
 
#define LcConfigC_base   (&MK(MkObjectCR))
 
#define LcConfigC_MK_NULL   LC(LcConfigThreadState).LcConfigC_MK_NULL
 
#define LcConfigC_ARGS   LcConfigC_Obj *self, PyObject *objv
 
#define LcConfigC_ARGS_CALL   self, objv
 
#define OT_retObj_SET_CFG(nat)
 
#define OT_TMP_CFG_OBJ(val)
 
#define VAL2CFG(val)
 
#define LcSettingC_lngO   (&LC(LcSettingCR))
 
#define LcSettingC_base   (&MK(MkObjectCR))
 
#define LcSettingC_MK_NULL   LC(LcConfigThreadState).LcSettingC_MK_NULL
 
#define LcSettingC_ARGS   LcSettingC_Obj *self, PyObject *objv
 
#define LcSettingC_ARGS_CALL   self, objv
 
#define OT_retObj_SET_CFS(nat)
 
#define OT_TMP_CFS_OBJ(val)
 
#define VAL2CFS(val)
 
#define OT_NEW_Lc_enum_OBJ(typ, val)
 
#define LcConfigFormatE_lngO   (LC(LcConfigThreadState).LcConfigFormatE)
 
#define LcConfigOptionsEF_lngO   (LC(LcConfigThreadState).LcConfigOptionsEF)
 
#define LcConfigTypeE_lngO   (LC(LcConfigThreadState).LcConfigTypeE)
 
#define LcErrorE_lngO   (LC(LcConfigThreadState).LcErrorE)
 
#define LcErrorTypeE_lngO   (LC(LcConfigThreadState).LcErrorTypeE)
 

Typedefs

typedef struct LcConfigC_Obj LcConfigC_Obj
 
typedef struct LcSettingC_Obj LcSettingC_Obj
 

Functions

int pylcconfig_pLcConfigC_Init (MK_RT mkrt, OT_OBJ_T)
 
int pylcconfig_pLcSettingC_Init (MK_RT mkrt, OT_OBJ_T)
 
static MK_ARTIFICIAL OT_OBJ_T pylcconfig_LcConfigC_ObjNew (MK_RT mkrt, OT_CLS_T type, LC_CFG hdl)
 
static MK_ARTIFICIAL OT_OBJ_T pylcconfig_LcSettingC_ObjNew (MK_RT mkrt, OT_CLS_T type, LC_CFS hdl)
 

Variables

MK_PY_EXTERN_DATA __thread LcConfigThreadStateS pylcconfig_LcConfigThreadState
 
LC_PY_EXTERN_DATA OT_CLASS_TYPE_REF pylcconfig_LcConfigCR
 
LC_PY_EXTERN_DATA OT_CLASS_TYPE_REF pylcconfig_LcSettingCR
 

Detailed Description

tag: nhi1-release-250425

Definition in file LibLcConfig_py.h.

Macro Definition Documentation

◆ HEADER

#define HEADER

Definition at line 23 of file LibLcConfig_py.h.

◆ LC

#define LC ( n)
Value:
pylcconfig_ ## n

Definition at line 74 of file LibLcConfig_py.h.

◆ LC_PY_EXTERN

#define LC_PY_EXTERN

static library

Definition at line 47 of file LibLcConfig_py.h.

◆ LC_PY_EXTERN_DATA

#define LC_PY_EXTERN_DATA   extern

Definition at line 70 of file LibLcConfig_py.h.

◆ LcConfigC_ARGS

#define LcConfigC_ARGS   LcConfigC_Obj *self, PyObject *objv

Definition at line 145 of file LibLcConfig_py.h.

◆ LcConfigC_ARGS_CALL

#define LcConfigC_ARGS_CALL   self, objv

Definition at line 146 of file LibLcConfig_py.h.

◆ LcConfigC_base

#define LcConfigC_base   (&MK(MkObjectCR))

Definition at line 139 of file LibLcConfig_py.h.

◆ LcConfigC_lngO

#define LcConfigC_lngO   (&LC(LcConfigCR))

Definition at line 138 of file LibLcConfig_py.h.

◆ LcConfigC_MK_NULL

#define LcConfigC_MK_NULL   LC(LcConfigThreadState).LcConfigC_MK_NULL

Definition at line 142 of file LibLcConfig_py.h.

◆ LcConfigFormatE_lngO

#define LcConfigFormatE_lngO   (LC(LcConfigThreadState).LcConfigFormatE)

Definition at line 210 of file LibLcConfig_py.h.

◆ LcConfigOptionsEF_lngO

#define LcConfigOptionsEF_lngO   (LC(LcConfigThreadState).LcConfigOptionsEF)

Definition at line 211 of file LibLcConfig_py.h.

◆ LcConfigTypeE_lngO

#define LcConfigTypeE_lngO   (LC(LcConfigThreadState).LcConfigTypeE)

Definition at line 212 of file LibLcConfig_py.h.

◆ LcErrorE_lngO

#define LcErrorE_lngO   (LC(LcConfigThreadState).LcErrorE)

Definition at line 213 of file LibLcConfig_py.h.

◆ LcErrorTypeE_lngO

#define LcErrorTypeE_lngO   (LC(LcConfigThreadState).LcErrorTypeE)

Definition at line 214 of file LibLcConfig_py.h.

◆ LcSettingC_ARGS

#define LcSettingC_ARGS   LcSettingC_Obj *self, PyObject *objv

Definition at line 178 of file LibLcConfig_py.h.

◆ LcSettingC_ARGS_CALL

#define LcSettingC_ARGS_CALL   self, objv

Definition at line 179 of file LibLcConfig_py.h.

◆ LcSettingC_base

#define LcSettingC_base   (&MK(MkObjectCR))

Definition at line 172 of file LibLcConfig_py.h.

◆ LcSettingC_lngO

#define LcSettingC_lngO   (&LC(LcSettingCR))

Definition at line 171 of file LibLcConfig_py.h.

◆ LcSettingC_MK_NULL

#define LcSettingC_MK_NULL   LC(LcConfigThreadState).LcSettingC_MK_NULL

Definition at line 175 of file LibLcConfig_py.h.

◆ NS

#define NS ( n)
Value:
pylcconfig_ ## n

Definition at line 76 of file LibLcConfig_py.h.

◆ OT_NEW_Lc_enum_OBJ

#define OT_NEW_Lc_enum_OBJ ( typ,
val )
Value:
PyObject_CallFunction((PyObject*)(Lc ## typ ## _lngO),"i",val)

Definition at line 206 of file LibLcConfig_py.h.

◆ OT_retObj_SET_CFG

#define OT_retObj_SET_CFG ( nat)
Value:
#define LC(n)
static MK_ARTIFICIAL LC_CFG LcConfigC_ObjNew(config_t *hdl)
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
#define MK_RT_CALL
Struct to represent the data from the LcConfigC …

Definition at line 149 of file LibLcConfig_py.h.

◆ OT_retObj_SET_CFS

#define OT_retObj_SET_CFS ( nat)
Value:
static MK_ARTIFICIAL LC_CFS LcSettingC_ObjNew(config_setting_t *hdl)
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
Struct to represent the data from the LcSettingC …

Definition at line 182 of file LibLcConfig_py.h.

◆ OT_TMP_CFG_OBJ

#define OT_TMP_CFG_OBJ ( val)
Value:

Definition at line 152 of file LibLcConfig_py.h.

◆ OT_TMP_CFS_OBJ

#define OT_TMP_CFS_OBJ ( val)
Value:

Definition at line 185 of file LibLcConfig_py.h.

◆ VAL2CFG

#define VAL2CFG ( val)
Value:

Definition at line 159 of file LibLcConfig_py.h.

◆ VAL2CFS

#define VAL2CFS ( val)
Value:

Definition at line 192 of file LibLcConfig_py.h.

Typedef Documentation

◆ LcConfigC_Obj

typedef struct LcConfigC_Obj LcConfigC_Obj

◆ LcSettingC_Obj

typedef struct LcSettingC_Obj LcSettingC_Obj

Function Documentation

◆ pylcconfig_LcConfigC_ObjNew()

static MK_ARTIFICIAL OT_OBJ_T pylcconfig_LcConfigC_ObjNew ( MK_RT mkrt,
OT_CLS_T type,
LC_CFG hdl )
inlinestatic

Definition at line 154 of file LibLcConfig_py.h.

154 {
155 return hdl ? MK(AtomObjNew)(MK_RT_CALL type,LcConfigC_X2obj(hdl)) : Py_NewRef(LcConfigC_MK_NULL);
156 }
#define LcConfigC_MK_NULL
#define MK(n)
#define LcConfigC_X2obj(x)

◆ pylcconfig_LcSettingC_ObjNew()

static MK_ARTIFICIAL OT_OBJ_T pylcconfig_LcSettingC_ObjNew ( MK_RT mkrt,
OT_CLS_T type,
LC_CFS hdl )
inlinestatic

Definition at line 187 of file LibLcConfig_py.h.

187 {
188 return hdl ? MK(AtomObjNew)(MK_RT_CALL type,LcSettingC_X2obj(hdl)) : Py_NewRef(LcSettingC_MK_NULL);
189 }
#define LcSettingC_MK_NULL
#define LcSettingC_X2obj(x)

◆ pylcconfig_pLcConfigC_Init()

int pylcconfig_pLcConfigC_Init ( MK_RT mkrt,
OT_OBJ_T m )

Definition at line 894 of file LcConfigC_py.c.

895{
897
898 return 0;
899error:
900 return -1;
901}
#define ClassInit

◆ pylcconfig_pLcSettingC_Init()

int pylcconfig_pLcSettingC_Init ( MK_RT mkrt,
OT_OBJ_T m )

Definition at line 1297 of file LcSettingC_py.c.

1298{
1299 ClassInit
1300
1301 return 0;
1302error:
1303 return -1;
1304}
#define ClassInit

Variable Documentation

◆ pylcconfig_LcConfigCR

LC_PY_EXTERN_DATA OT_CLASS_TYPE_REF pylcconfig_LcConfigCR

Definition at line 137 of file LibLcConfig_py.h.

◆ pylcconfig_LcConfigThreadState

MK_PY_EXTERN_DATA __thread LcConfigThreadStateS pylcconfig_LcConfigThreadState

Definition at line 118 of file LibLcConfig_py.h.

◆ pylcconfig_LcSettingCR

LC_PY_EXTERN_DATA OT_CLASS_TYPE_REF pylcconfig_LcSettingCR

Definition at line 170 of file LibLcConfig_py.h.