11#define META_FILE_NAME "LibLcConfig_tcl.c"
12#define VER TCL_OO_METHOD_VERSION_CURRENT
17#define OtClass_ARGS OBJCMD_ARGS
19#define OT_SETUP_hdl_static \
22 __attribute__((unused)) MK_RT mkrt = MkRT; \
23 __attribute__((unused)) MK_ERR hdl = &MkERROR;
31#define LcCleanupTmpl()
80#define ConfigFormatE_FromInt_doc "LcConfigFormatE [LcConfig ConfigFormatE_FromInt value:int32]"
81#define ConfigOptionsEF_FromInt_doc "LcConfigOptionsEF [LcConfig ConfigOptionsEF_FromInt value:int32]"
82#define ConfigTypeE_FromInt_doc "LcConfigTypeE [LcConfig ConfigTypeE_FromInt value:int32]"
83#define ErrorE_FromInt_doc "LcErrorE [LcConfig ErrorE_FromInt value:int32]"
84#define ErrorTypeE_FromInt_doc "LcErrorTypeE [LcConfig ErrorTypeE_FromInt value:int32]"
87#define ConfigFormatE_ToInt_doc "int32 [LcConfig ConfigFormatE_ToInt value:LcConfigFormatE]"
88#define ConfigFormatE_ToString_doc "string [LcConfig ConfigFormatE_ToString value:LcConfigFormatE]"
89#define ConfigOptionsEF_ToInt_doc "int32 [LcConfig ConfigOptionsEF_ToInt value:LcConfigOptionsEF]"
90#define ConfigOptionsEF_ToString_doc "string [LcConfig ConfigOptionsEF_ToString value:LcConfigOptionsEF]"
91#define ConfigTypeE_ToInt_doc "int32 [LcConfig ConfigTypeE_ToInt value:LcConfigTypeE]"
92#define ConfigTypeE_ToString_doc "string [LcConfig ConfigTypeE_ToString value:LcConfigTypeE]"
93#define ErrorE_ToInt_doc "int32 [LcConfig ErrorE_ToInt value:LcErrorE]"
94#define ErrorE_ToString_doc "string [LcConfig ErrorE_ToString value:LcErrorE]"
95#define ErrorTypeE_ToInt_doc "int32 [LcConfig ErrorTypeE_ToInt value:LcErrorTypeE]"
96#define ErrorTypeE_ToString_doc "string [LcConfig ErrorTypeE_ToString value:LcErrorTypeE]"
99#define Cleanup_doc "LcConfig Cleanup"
100#define Setup_doc "LcConfig Setup"
204 sizeof(
struct LookupClassS),
"enum", TCL_EXACT, &index));
205 *ret = keys[index].
val;
281 sizeof(
struct LookupClassS),
"enum", TCL_EXACT, &index));
282 *ret = keys[index].
val;
297 sizeof(
struct LookupClassS),
"enum", TCL_EXACT, &index));
298 *ret = keys[index].
val;
318 sizeof(
struct LookupClassS),
"enum", TCL_EXACT, &index));
319 *ret = keys[index].
val;
701 {
VER,
"ConfigFormatE_FromInt",
NS(LcConfig_ConfigFormatE_FromInt) , NULL, NULL},
702 {
VER,
"ConfigOptionsEF_FromInt",
NS(LcConfig_ConfigOptionsEF_FromInt) , NULL, NULL},
703 {
VER,
"ConfigTypeE_FromInt" ,
NS(LcConfig_ConfigTypeE_FromInt) , NULL, NULL},
704 {
VER,
"ErrorE_FromInt" ,
NS(LcConfig_ErrorE_FromInt) , NULL, NULL},
705 {
VER,
"ErrorTypeE_FromInt" ,
NS(LcConfig_ErrorTypeE_FromInt) , NULL, NULL},
708 {
VER,
"ConfigFormatE_ToInt" ,
NS(LcConfig_ConfigFormatE_ToInt) , NULL, NULL},
709 {
VER,
"ConfigFormatE_ToString",
NS(LcConfig_ConfigFormatE_ToString) , NULL, NULL},
710 {
VER,
"ConfigOptionsEF_ToInt",
NS(LcConfig_ConfigOptionsEF_ToInt) , NULL, NULL},
711 {
VER,
"ConfigOptionsEF_ToString",
NS(LcConfig_ConfigOptionsEF_ToString) , NULL, NULL},
712 {
VER,
"ConfigTypeE_ToInt" ,
NS(LcConfig_ConfigTypeE_ToInt) , NULL, NULL},
713 {
VER,
"ConfigTypeE_ToString",
NS(LcConfig_ConfigTypeE_ToString) , NULL, NULL},
714 {
VER,
"ErrorE_ToInt" ,
NS(LcConfig_ErrorE_ToInt) , NULL, NULL},
715 {
VER,
"ErrorE_ToString" ,
NS(LcConfig_ErrorE_ToString) , NULL, NULL},
716 {
VER,
"ErrorTypeE_ToInt" ,
NS(LcConfig_ErrorTypeE_ToInt) , NULL, NULL},
717 {
VER,
"ErrorTypeE_ToString" ,
NS(LcConfig_ErrorTypeE_ToString) , NULL, NULL},
720 {
VER,
"Cleanup" ,
NS(LcConfig_Cleanup) , NULL, NULL},
721 {
VER,
"Setup" ,
NS(LcConfig_Setup) , NULL, NULL},
724 {0, NULL, NULL, NULL, NULL}
736 {0, NULL, NULL, NULL, NULL}
755 if (Tcl_InitStubs (interp,
"8.6",
true) == NULL) {
758 if (Tcl_OOInitStubs (interp) == NULL) {
767 OtErrorCheckLng (Tcl_PkgProvide (interp,
"tcllcconfig", META_VERSION ));
770 if (Tcl_GetVar(interp,
"::tcl::newPkgs", TCL_GLOBAL_ONLY) != NULL)
return TCL_OK;
773 MK_STRN ver = Tcl_PkgRequire(interp,
"tclmkkernel", META_VERSION, 1);
777 Tcl_Namespace *ns = Tcl_CreateNamespace (interp,
"tcllcconfig", NULL, NULL);
#define ConfigOptionsEF_FromInt_doc
#define ConfigFormatE_ToInt_doc
#define ConfigFormatE_ToString_doc
#define ConfigOptionsEF_ToString_doc
OT_TCL_EXTERN int Tcllcconfig_Init(Tcl_Interp *interp)
initialize the LcConfig package
#define ErrorTypeE_FromInt_doc
#define ConfigOptionsEF_ToInt_doc
#define ErrorE_ToString_doc
#define ConfigFormatE_FromInt_doc
#define OT_SETUP_hdl_static
#define ErrorE_FromInt_doc
#define ConfigTypeE_FromInt_doc
#define ErrorTypeE_ToInt_doc
OT_TCL_EXTERN int Tcllcconfig_Unload(Tcl_Interp *interp, int flags)
#define ConfigTypeE_ToInt_doc
#define ErrorTypeE_ToString_doc
#define ConfigTypeE_ToString_doc
#define OT_NEW_Lc_enum_OBJ(typ, val)
#define OT_SETUP_NOARG(d)
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_NI4(val)
#define OT_retObj_SET_Error
#define ot_enum_append(_o, _s)
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_SET_None
#define OT_retObj_SET_I32(nat)
#define OT_CHECK_ENUM(ename, val)
#define OT_retObj_SET_STR(nat)
#define OT_retObj_SET(val)
#define OtErrorCheckLng(cmd)
#define MkErrorC_Check(mng, PROC)
static MK_I32 LcConfigTypeE_ToInt(enum LcConfigTypeE value)
return the LcConfigTypeE as integer …
MK_STRN LcErrorE_ToString(enum LcErrorE value)
return the LcErrorE as string …
static MK_I32 LcErrorE_ToInt(enum LcErrorE value)
return the LcErrorE as integer …
LcErrorE
Signals an error and is used as the return value of a function …
static MK_I32 LcErrorTypeE_ToInt(enum LcErrorTypeE value)
return the LcErrorTypeE as integer …
enum MkErrorE LcConfigFormatE_FromInt(MK_I32 const value, enum LcConfigFormatE *value_out)
return the LcConfigFormatE from integer …
static MK_I32 LcConfigOptionsEF_ToInt(enum LcConfigOptionsEF value)
return the LcConfigOptionsEF as integer …
LcConfigFormatE
set the format of a LcSettingC …
LcConfigOptionsEF
define the configuration-option of a LcConfigC …
static MK_I32 LcConfigFormatE_ToInt(enum LcConfigFormatE value)
return the LcConfigFormatE as integer …
MK_STRN LcConfigTypeE_ToString(enum LcConfigTypeE value)
return the LcConfigTypeE as string …
enum MkErrorE LcErrorTypeE_FromInt(MK_I32 const value, enum LcErrorTypeE *value_out)
return the LcErrorTypeE from integer …
MK_STRN LcErrorTypeE_ToString(enum LcErrorTypeE value)
return the LcErrorTypeE as string …
MK_STRN LcConfigOptionsEF_ToString(enum LcConfigOptionsEF value)
return the LcConfigOptionsEF as string …
LcConfigTypeE
define the data-type of a LcSettingC …
enum MkErrorE LcConfigOptionsEF_FromInt(MK_I32 const value, enum LcConfigOptionsEF *value_out)
return the LcConfigOptionsEF from integer …
enum MkErrorE LcErrorE_FromInt(MK_I32 const value, enum LcErrorE *value_out)
return the LcErrorE from integer …
enum MkErrorE LcConfigTypeE_FromInt(MK_I32 const value, enum LcConfigTypeE *value_out)
return the LcConfigTypeE from integer …
MK_STRN LcConfigFormatE_ToString(enum LcConfigFormatE value)
return the LcConfigFormatE as string …
void LcSetup(void)
setup tcllcconfig internal memory …
void LcCleanup(void)
cleanup tcllcconfig internal memory …
#define mk_bit_compare(t, f)
#define CONFIG_TYPE_STRING
#define CONFIG_TYPE_ARRAY
#define CONFIG_FORMAT_DEFAULT
#define CONFIG_OPTION_SEMICOLON_SEPARATORS
#define CONFIG_OPTION_FSYNC
#define CONFIG_OPTION_AUTOCONVERT
#define CONFIG_TYPE_GROUP
#define CONFIG_FORMAT_HEX
#define CONFIG_OPTION_ALLOW_SCIENTIFIC_NOTATION
#define CONFIG_TYPE_INT64
#define CONFIG_OPTION_COLON_ASSIGNMENT_FOR_NON_GROUPS
#define CONFIG_OPTION_OPEN_BRACE_ON_SEPARATE_LINE
#define CONFIG_OPTION_ALLOW_OVERRIDES
#define CONFIG_TYPE_FLOAT
#define CONFIG_OPTION_COLON_ASSIGNMENT_FOR_GROUPS