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

tag: nhi1-release-250425 More...

+ Include dependency graph for LibLcConfig_py.c:

Go to the source code of this file.

Data Structures

struct  pylcconfig_sLcConfigStateS
 

Macros

#define OT_SETUP_hdl
 
#define OT_SETUP_hdl_static
 
#define LcSetupTmpl()
 
#define LcCleanupTmpl()
 
#define ConfigFormatE_FromInt_doc   "LcConfigFormatE ConfigFormatE_FromInt(value:int32)"
 
#define ConfigOptionsEF_FromInt_doc   "LcConfigOptionsEF ConfigOptionsEF_FromInt(value:int32)"
 
#define ConfigTypeE_FromInt_doc   "LcConfigTypeE ConfigTypeE_FromInt(value:int32)"
 
#define ErrorE_FromInt_doc   "LcErrorE ErrorE_FromInt(value:int32)"
 
#define ErrorTypeE_FromInt_doc   "LcErrorTypeE ErrorTypeE_FromInt(value:int32)"
 
#define ConfigFormatE_ToInt_doc   "int32 ConfigFormatE_ToInt(value:LcConfigFormatE)"
 
#define ConfigFormatE_ToString_doc   "string ConfigFormatE_ToString(value:LcConfigFormatE)"
 
#define ConfigOptionsEF_ToInt_doc   "int32 ConfigOptionsEF_ToInt(value:LcConfigOptionsEF)"
 
#define ConfigOptionsEF_ToString_doc   "string ConfigOptionsEF_ToString(value:LcConfigOptionsEF)"
 
#define ConfigTypeE_ToInt_doc   "int32 ConfigTypeE_ToInt(value:LcConfigTypeE)"
 
#define ConfigTypeE_ToString_doc   "string ConfigTypeE_ToString(value:LcConfigTypeE)"
 
#define ErrorE_ToInt_doc   "int32 ErrorE_ToInt(value:LcErrorE)"
 
#define ErrorE_ToString_doc   "string ErrorE_ToString(value:LcErrorE)"
 
#define ErrorTypeE_ToInt_doc   "int32 ErrorTypeE_ToInt(value:LcErrorTypeE)"
 
#define ErrorTypeE_ToString_doc   "string ErrorTypeE_ToString(value:LcErrorTypeE)"
 
#define Cleanup_doc   "Cleanup()"
 
#define Setup_doc   "Setup()"
 
#define Debug_doc   "Debug(prefix:str, ?obj:object?"
 

Functions

static OT_ProcRet pylcconfig_LcConfig_ConfigFormatE_FromInt (OtClass_ARGS)
  Python: [static] LcConfigFormatE ConfigFormatE_FromInt(value:int32) C-API
return the LcConfigFormatE from integer …
 
static OT_ProcRet pylcconfig_LcConfig_ConfigOptionsEF_FromInt (OtClass_ARGS)
  Python: [static] LcConfigOptionsEF ConfigOptionsEF_FromInt(value:int32) C-API
return the LcConfigOptionsEF from integer …
 
static OT_ProcRet pylcconfig_LcConfig_ConfigTypeE_FromInt (OtClass_ARGS)
  Python: [static] LcConfigTypeE ConfigTypeE_FromInt(value:int32) C-API
return the LcConfigTypeE from integer …
 
static OT_ProcRet pylcconfig_LcConfig_ErrorE_FromInt (OtClass_ARGS)
  Python: [static] LcErrorE ErrorE_FromInt(value:int32) C-API
return the LcErrorE from integer …
 
static OT_ProcRet pylcconfig_LcConfig_ErrorTypeE_FromInt (OtClass_ARGS)
  Python: [static] LcErrorTypeE ErrorTypeE_FromInt(value:int32) C-API
return the LcErrorTypeE from integer …
 
static OT_ProcRet pylcconfig_LcConfig_ConfigFormatE_ToInt (OtClass_ARGS)
  Python: [static] int32 ConfigFormatE_ToInt(value:LcConfigFormatE) C-API
return the LcConfigFormatE as integer …
 
static OT_ProcRet pylcconfig_LcConfig_ConfigFormatE_ToString (OtClass_ARGS)
  Python: [static] string ConfigFormatE_ToString(value:LcConfigFormatE) C-API
return the LcConfigFormatE as string …
 
static OT_ProcRet pylcconfig_LcConfig_ConfigOptionsEF_ToInt (OtClass_ARGS)
  Python: [static] int32 ConfigOptionsEF_ToInt(value:LcConfigOptionsEF) C-API
return the LcConfigOptionsEF as integer …
 
static OT_ProcRet pylcconfig_LcConfig_ConfigOptionsEF_ToString (OtClass_ARGS)
  Python: [static] string ConfigOptionsEF_ToString(value:LcConfigOptionsEF) C-API
return the LcConfigOptionsEF as string …
 
static OT_ProcRet pylcconfig_LcConfig_ConfigTypeE_ToInt (OtClass_ARGS)
  Python: [static] int32 ConfigTypeE_ToInt(value:LcConfigTypeE) C-API
return the LcConfigTypeE as integer …
 
static OT_ProcRet pylcconfig_LcConfig_ConfigTypeE_ToString (OtClass_ARGS)
  Python: [static] string ConfigTypeE_ToString(value:LcConfigTypeE) C-API
return the LcConfigTypeE as string …
 
static OT_ProcRet pylcconfig_LcConfig_ErrorE_ToInt (OtClass_ARGS)
  Python: [static] int32 ErrorE_ToInt(value:LcErrorE) C-API
return the LcErrorE as integer …
 
static OT_ProcRet pylcconfig_LcConfig_ErrorE_ToString (OtClass_ARGS)
  Python: [static] string ErrorE_ToString(value:LcErrorE) C-API
return the LcErrorE as string …
 
static OT_ProcRet pylcconfig_LcConfig_ErrorTypeE_ToInt (OtClass_ARGS)
  Python: [static] int32 ErrorTypeE_ToInt(value:LcErrorTypeE) C-API
return the LcErrorTypeE as integer …
 
static OT_ProcRet pylcconfig_LcConfig_ErrorTypeE_ToString (OtClass_ARGS)
  Python: [static] string ErrorTypeE_ToString(value:LcErrorTypeE) C-API
return the LcErrorTypeE as string …
 
static OT_ProcRet pylcconfig_LcConfig_Cleanup (OtClass_ARGS)
  Python: [static] Cleanup() C-API
cleanup pylcconfig internal memory …
 
static OT_ProcRet pylcconfig_LcConfig_Setup (OtClass_ARGS)
  Python: [static] Setup() C-API
setup pylcconfig internal memory …
 
static MK_UNUSED pylcconfig_sLcConfigStateSpylcconfig_sLcConfigGetState (PyObject *module)
 
static int pylcconfig_sLcConfigTraverse (PyObject *module, visitproc visit, void *arg)
 
static int pylcconfig_sLcConfigClear (PyObject *module)
 
static void pylcconfig_sLcConfigFree (void *module)
 
static int pylcconfig_sLcConfigExec (PyObject *module)
 
PyMODINIT_FUNC LibLcConfig (void)
 

Variables

static PyMethodDef pylcconfig_sLcConfigMethods []
 
__thread LcConfigThreadStateS pylcconfig_LcConfigThreadState = {0}
 
static MK_UNUSED PyModuleDef_Slot pylcconfig_sLcConfigDefSlots []
 
static PyModuleDef pylcconfig_sLcConfigDef
 

Detailed Description

tag: nhi1-release-250425

Definition in file LibLcConfig_py.c.

Macro Definition Documentation

◆ Cleanup_doc

#define Cleanup_doc   "Cleanup()"

Definition at line 99 of file LibLcConfig_py.c.

◆ ConfigFormatE_FromInt_doc

#define ConfigFormatE_FromInt_doc   "LcConfigFormatE ConfigFormatE_FromInt(value:int32)"

doc definition

Definition at line 80 of file LibLcConfig_py.c.

◆ ConfigFormatE_ToInt_doc

#define ConfigFormatE_ToInt_doc   "int32 ConfigFormatE_ToInt(value:LcConfigFormatE)"

Definition at line 87 of file LibLcConfig_py.c.

◆ ConfigFormatE_ToString_doc

#define ConfigFormatE_ToString_doc   "string ConfigFormatE_ToString(value:LcConfigFormatE)"

Definition at line 88 of file LibLcConfig_py.c.

◆ ConfigOptionsEF_FromInt_doc

#define ConfigOptionsEF_FromInt_doc   "LcConfigOptionsEF ConfigOptionsEF_FromInt(value:int32)"

Definition at line 81 of file LibLcConfig_py.c.

◆ ConfigOptionsEF_ToInt_doc

#define ConfigOptionsEF_ToInt_doc   "int32 ConfigOptionsEF_ToInt(value:LcConfigOptionsEF)"

Definition at line 89 of file LibLcConfig_py.c.

◆ ConfigOptionsEF_ToString_doc

#define ConfigOptionsEF_ToString_doc   "string ConfigOptionsEF_ToString(value:LcConfigOptionsEF)"

Definition at line 90 of file LibLcConfig_py.c.

◆ ConfigTypeE_FromInt_doc

#define ConfigTypeE_FromInt_doc   "LcConfigTypeE ConfigTypeE_FromInt(value:int32)"

Definition at line 82 of file LibLcConfig_py.c.

◆ ConfigTypeE_ToInt_doc

#define ConfigTypeE_ToInt_doc   "int32 ConfigTypeE_ToInt(value:LcConfigTypeE)"

Definition at line 91 of file LibLcConfig_py.c.

◆ ConfigTypeE_ToString_doc

#define ConfigTypeE_ToString_doc   "string ConfigTypeE_ToString(value:LcConfigTypeE)"

Definition at line 92 of file LibLcConfig_py.c.

◆ Debug_doc

#define Debug_doc   "Debug(prefix:str, ?obj:object?"

Definition at line 104 of file LibLcConfig_py.c.

◆ ErrorE_FromInt_doc

#define ErrorE_FromInt_doc   "LcErrorE ErrorE_FromInt(value:int32)"

Definition at line 83 of file LibLcConfig_py.c.

◆ ErrorE_ToInt_doc

#define ErrorE_ToInt_doc   "int32 ErrorE_ToInt(value:LcErrorE)"

Definition at line 93 of file LibLcConfig_py.c.

◆ ErrorE_ToString_doc

#define ErrorE_ToString_doc   "string ErrorE_ToString(value:LcErrorE)"

Definition at line 94 of file LibLcConfig_py.c.

◆ ErrorTypeE_FromInt_doc

#define ErrorTypeE_FromInt_doc   "LcErrorTypeE ErrorTypeE_FromInt(value:int32)"

Definition at line 84 of file LibLcConfig_py.c.

◆ ErrorTypeE_ToInt_doc

#define ErrorTypeE_ToInt_doc   "int32 ErrorTypeE_ToInt(value:LcErrorTypeE)"

Definition at line 95 of file LibLcConfig_py.c.

◆ ErrorTypeE_ToString_doc

#define ErrorTypeE_ToString_doc   "string ErrorTypeE_ToString(value:LcErrorTypeE)"

Definition at line 96 of file LibLcConfig_py.c.

◆ LcCleanupTmpl

#define LcCleanupTmpl ( )

Definition at line 19 of file LibLcConfig_py.c.

◆ LcSetupTmpl

#define LcSetupTmpl ( )

Definition at line 18 of file LibLcConfig_py.c.

◆ OT_SETUP_hdl

#define OT_SETUP_hdl
Value:
#define MK_ERROR_PRINT
#define MkRtSetup_NULL

Definition at line 13 of file LibLcConfig_py.c.

13#define OT_SETUP_hdl MkRtSetup_NULL; \
14 MK_OBJ hdl = MK_ERROR_PRINT;

◆ OT_SETUP_hdl_static

#define OT_SETUP_hdl_static
Value:
__attribute__((unused)) MK_RT mkrt = MkRT; \
__attribute__((unused)) MK_ERR hdl = &MkERROR;
#define MkERROR
#define MkRT

Definition at line 15 of file LibLcConfig_py.c.

15#define OT_SETUP_hdl_static __attribute__((unused)) MK_RT mkrt = MkRT; \
16 __attribute__((unused)) MK_ERR hdl = &MkERROR;

◆ Setup_doc

#define Setup_doc   "Setup()"

Definition at line 100 of file LibLcConfig_py.c.

Function Documentation

◆ LibLcConfig()

PyMODINIT_FUNC LibLcConfig ( void )

Public API

Definition at line 644 of file LibLcConfig_py.c.

645{
646 // Multi-phase initialization
647 return PyModuleDef_Init(&NS(sLcConfigDef));
648}
#define NS(n)

◆ pylcconfig_sLcConfigClear()

static int pylcconfig_sLcConfigClear ( PyObject * module)
static

Definition at line 498 of file LibLcConfig_py.c.

499{
500 // BEGIN-EnumClear - created by 'py_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
501
502 Py_CLEAR(LcConfigFormatE_lngO);
503 Py_CLEAR(LcConfigOptionsEF_lngO);
504 Py_CLEAR(LcConfigTypeE_lngO);
505 Py_CLEAR(LcErrorE_lngO);
506 Py_CLEAR(LcErrorTypeE_lngO);
507
508 // END-EnumClear - created by 'py_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
509 // BEGIN-ClassClear - created by 'py_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
510
511 Py_CLEAR(LcConfigC_MK_NULL);
512 Py_CLEAR(LcSettingC_MK_NULL);
513
514 // END-ClassClear - created by 'py_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
515 return 0;
516}
#define LcConfigC_MK_NULL
#define LcErrorE_lngO
#define LcConfigFormatE_lngO
#define LcConfigOptionsEF_lngO
#define LcSettingC_MK_NULL
#define LcConfigTypeE_lngO
#define LcErrorTypeE_lngO

◆ pylcconfig_sLcConfigExec()

static int pylcconfig_sLcConfigExec ( PyObject * module)
static

Definition at line 525 of file LibLcConfig_py.c.

526{
527 int ret;
528 LcSetup();
530
531 NS(sLcConfigStateS) *state = NS(sLcConfigGetState)(module);
532 state->mkrt = MK_RT_PTR;
533
534 PyObject *mainM = PyImport_AddModule("__main__");
535
536 PyObject *mkM = PyImport_ImportModule("pymkkernel");
537 LngErrorCheckN(mkM);
538 ret = PyObject_SetAttrString(mainM,"pymkkernel",mkM);
539 OtErrorCheckLng(ret);
540 Py_CLEAR(mkM);
541
542 // BEGIN-CLASS-DEF - created by 'py_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
543
544 OtErrorCheckLng( NS(pLcConfigC_Init) (MK_RT_CALL module) ) ;
545 OtErrorCheckLng( NS(pLcSettingC_Init) (MK_RT_CALL module) ) ;
546
547 // END-CLASS-DEF - created by 'py_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
548
549 // init NULL object… on EVERY thread
550 //NS(inMain) = false;
551
552 // init ENUM
553 MK_STR enumCode =
554 "from enum import IntEnum, IntFlag\n"
555
556 // BEGIN-EnumCode - created by 'py_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
557
558 "class LcConfigFormatE(IntEnum):\n"
559 " DEFAULT = 0\n"
560 " HEX = 1\n"
561
562 "class LcConfigOptionsEF(IntFlag):\n"
563 " NONE = 0\n"
564 " AUTOCONVERT = 1\n"
565 " SEMICOLON_SEPARATORS = 2\n"
566 " COLON_ASSIGNMENT_FOR_GROUPS = 4\n"
567 " COLON_ASSIGNMENT_FOR_NON_GROUPS = 8\n"
568 " OPEN_BRACE_ON_SEPARATE_LINE = 16\n"
569 " ALLOW_SCIENTIFIC_NOTATION = 32\n"
570 " FSYNC = 64\n"
571 " ALLOW_OVERRIDES = 128\n"
572
573 "class LcConfigTypeE(IntEnum):\n"
574 " NONE = 0\n"
575 " GROUP = 1\n"
576 " INT = 2\n"
577 " INT64 = 3\n"
578 " FLOAT = 4\n"
579 " STRING = 5\n"
580 " BOOL = 6\n"
581 " ARRAY = 7\n"
582 " LIST = 8\n"
583
584 "class LcErrorE(IntEnum):\n"
585 " FALSE = 0\n"
586 " TRUE = 1\n"
587
588 "class LcErrorTypeE(IntEnum):\n"
589 " NONE = 0\n"
590 " FILE_IO = 1\n"
591 " PARSE = 2\n"
592
593 // END-EnumCode - created by 'py_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
594 ;
595
596 PyObject *myD, *mainD, *tmpO;
597 mainD = PyModule_GetDict(mainM);
598 myD = PyModule_GetDict(module);
599 tmpO = PyRun_String(enumCode, Py_file_input, mainD, myD);
600 LngErrorCheckN(tmpO);
601 Py_CLEAR(tmpO);
602
603 // BEGIN-EnumSet - created by 'py_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
604
605 LcConfigFormatE_lngO = (PyTypeObject*) Py_NewRef(PyDict_GetItemString(myD,"LcConfigFormatE"));
606 LcConfigOptionsEF_lngO = (PyTypeObject*) Py_NewRef(PyDict_GetItemString(myD,"LcConfigOptionsEF"));
607 LcConfigTypeE_lngO = (PyTypeObject*) Py_NewRef(PyDict_GetItemString(myD,"LcConfigTypeE"));
608 LcErrorE_lngO = (PyTypeObject*) Py_NewRef(PyDict_GetItemString(myD,"LcErrorE"));
609 LcErrorTypeE_lngO = (PyTypeObject*) Py_NewRef(PyDict_GetItemString(myD,"LcErrorTypeE"));
610
611 // END-EnumSet - created by 'py_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
612
613 return 0;
614error:
615 return -1;
616}
#define LngErrorCheckN(PROC)
#define OtErrorCheckLng(PROC)
void LcSetup(void)
setup pylcconfig internal memory …
MK_STRB * MK_STR
#define MK_RT_PTR
#define MK_RT_CALL

◆ pylcconfig_sLcConfigFree()

static void pylcconfig_sLcConfigFree ( void * module)
static

Definition at line 519 of file LibLcConfig_py.c.

520{
521 NS(sLcConfigClear)((PyObject *)module);
522}

◆ pylcconfig_sLcConfigGetState()

static MK_UNUSED pylcconfig_sLcConfigStateS * pylcconfig_sLcConfigGetState ( PyObject * module)
inlinestatic

Definition at line 469 of file LibLcConfig_py.c.

470{
471 void *state = PyModule_GetState(module);
472 assert(state != NULL);
473 return (NS(sLcConfigStateS)*)state;
474}

◆ pylcconfig_sLcConfigTraverse()

static int pylcconfig_sLcConfigTraverse ( PyObject * module,
visitproc visit,
void * arg )
static

Definition at line 477 of file LibLcConfig_py.c.

478{
479 // BEGIN-EnumTraverse - created by 'py_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
480
481 Py_VISIT(LcConfigFormatE_lngO);
482 Py_VISIT(LcConfigOptionsEF_lngO);
483 Py_VISIT(LcConfigTypeE_lngO);
484 Py_VISIT(LcErrorE_lngO);
485 Py_VISIT(LcErrorTypeE_lngO);
486
487 // END-EnumTraverse - created by 'py_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
488 // BEGIN-ClassTraverse - created by 'py_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
489
490 Py_VISIT(LcConfigC_MK_NULL);
491 Py_VISIT(LcSettingC_MK_NULL);
492
493 // END-ClassTraverse - created by 'py_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
494 return 0;
495}

Variable Documentation

◆ pylcconfig_LcConfigThreadState

__thread LcConfigThreadStateS pylcconfig_LcConfigThreadState = {0}

Public API

Definition at line 462 of file LibLcConfig_py.c.

462{0} ;

◆ pylcconfig_sLcConfigDef

PyModuleDef pylcconfig_sLcConfigDef
static
Initial value:
= {
PyModuleDef_HEAD_INIT,
.m_name = "pylcconfig",
.m_doc = "python language binding for 'theConfig'",
.m_size = sizeof( pylcconfig_sLcConfigStateS ),
}
static int pylcconfig_sLcConfigTraverse(PyObject *module, visitproc visit, void *arg)
static int pylcconfig_sLcConfigClear(PyObject *module)
static PyMethodDef pylcconfig_sLcConfigMethods[]
static MK_UNUSED PyModuleDef_Slot pylcconfig_sLcConfigDefSlots[]
static void pylcconfig_sLcConfigFree(void *module)

Definition at line 624 of file LibLcConfig_py.c.

624 {
625 PyModuleDef_HEAD_INIT,
626 .m_name = "pylcconfig",
627 .m_doc = "python language binding for 'theConfig'",
628 .m_size = sizeof(NS(sLcConfigStateS)),
629 .m_methods = NS(sLcConfigMethods),
630 .m_slots = NS(sLcConfigDefSlots),
631 .m_traverse = NS(sLcConfigTraverse), // garbage collection
632 .m_clear = NS(sLcConfigClear),
633 .m_free = NS(sLcConfigFree),
634};

◆ pylcconfig_sLcConfigDefSlots

MK_UNUSED PyModuleDef_Slot pylcconfig_sLcConfigDefSlots[]
static
Initial value:
= {
{Py_mod_exec, pylcconfig_sLcConfigExec },
{Py_mod_multiple_interpreters, Py_MOD_PER_INTERPRETER_GIL_SUPPORTED},
{0, NULL}
}
static int pylcconfig_sLcConfigExec(PyObject *module)

Definition at line 618 of file LibLcConfig_py.c.

618 {
619 {Py_mod_exec, NS(sLcConfigExec)},
620 {Py_mod_multiple_interpreters, Py_MOD_PER_INTERPRETER_GIL_SUPPORTED},
621 {0, NULL}
622};

◆ pylcconfig_sLcConfigMethods

PyMethodDef pylcconfig_sLcConfigMethods[]
static

Type definition

Definition at line 414 of file LibLcConfig_py.c.

414 {
415
416 // BEGIN-CLASS - created by 'py_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
417
418 // doc-key: LcConfig,EnumFunc,sco
419 { "ConfigFormatE_FromInt" , (PyCFunction) NS(LcConfig_ConfigFormatE_FromInt) , METH_O , ConfigFormatE_FromInt_doc },
420 { "ConfigOptionsEF_FromInt" , (PyCFunction) NS(LcConfig_ConfigOptionsEF_FromInt) , METH_O , ConfigOptionsEF_FromInt_doc },
421 { "ConfigTypeE_FromInt" , (PyCFunction) NS(LcConfig_ConfigTypeE_FromInt) , METH_O , ConfigTypeE_FromInt_doc },
422 { "ErrorE_FromInt" , (PyCFunction) NS(LcConfig_ErrorE_FromInt) , METH_O , ErrorE_FromInt_doc },
423 { "ErrorTypeE_FromInt" , (PyCFunction) NS(LcConfig_ErrorTypeE_FromInt) , METH_O , ErrorTypeE_FromInt_doc },
424
425 // doc-key: LcConfig,EnumFunc,sm_
426 { "ConfigFormatE_ToInt" , (PyCFunction) NS(LcConfig_ConfigFormatE_ToInt) , METH_O , ConfigFormatE_ToInt_doc },
427 { "ConfigFormatE_ToString" , (PyCFunction) NS(LcConfig_ConfigFormatE_ToString) , METH_O , ConfigFormatE_ToString_doc },
428 { "ConfigOptionsEF_ToInt" , (PyCFunction) NS(LcConfig_ConfigOptionsEF_ToInt) , METH_O , ConfigOptionsEF_ToInt_doc },
429 { "ConfigOptionsEF_ToString" , (PyCFunction) NS(LcConfig_ConfigOptionsEF_ToString) , METH_O , ConfigOptionsEF_ToString_doc },
430 { "ConfigTypeE_ToInt" , (PyCFunction) NS(LcConfig_ConfigTypeE_ToInt) , METH_O , ConfigTypeE_ToInt_doc },
431 { "ConfigTypeE_ToString" , (PyCFunction) NS(LcConfig_ConfigTypeE_ToString) , METH_O , ConfigTypeE_ToString_doc },
432 { "ErrorE_ToInt" , (PyCFunction) NS(LcConfig_ErrorE_ToInt) , METH_O , ErrorE_ToInt_doc },
433 { "ErrorE_ToString" , (PyCFunction) NS(LcConfig_ErrorE_ToString) , METH_O , ErrorE_ToString_doc },
434 { "ErrorTypeE_ToInt" , (PyCFunction) NS(LcConfig_ErrorTypeE_ToInt) , METH_O , ErrorTypeE_ToInt_doc },
435 { "ErrorTypeE_ToString" , (PyCFunction) NS(LcConfig_ErrorTypeE_ToString) , METH_O , ErrorTypeE_ToString_doc },
436
437 // doc-key: LcConfig,Setup,sm_
438 { "Cleanup" , (PyCFunction) NS(LcConfig_Cleanup) , METH_NOARGS , Cleanup_doc },
439 { "Setup" , (PyCFunction) NS(LcConfig_Setup) , METH_NOARGS , Setup_doc },
440
441 // END-CLASS - created by 'py_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
442
443 // BEGIN-OBJ - created by 'py_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
444
445 // → no data
446
447 // END-OBJ - created by 'py_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
448
449 {NULL, NULL, 0, NULL} /* Sentinel */
450};
#define ConfigOptionsEF_FromInt_doc
#define ConfigFormatE_ToInt_doc
#define ConfigFormatE_ToString_doc
#define ConfigOptionsEF_ToString_doc
#define ErrorTypeE_FromInt_doc
#define ConfigOptionsEF_ToInt_doc
#define ErrorE_ToString_doc
#define ConfigFormatE_FromInt_doc
#define ErrorE_FromInt_doc
#define ErrorE_ToInt_doc
#define ConfigTypeE_FromInt_doc
#define ErrorTypeE_ToInt_doc
#define Cleanup_doc
#define Setup_doc
#define ConfigTypeE_ToInt_doc
#define ErrorTypeE_ToString_doc
#define ConfigTypeE_ToString_doc