theConfig 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - cs - py - rb - jv - cc
Loading...
Searching...
No Matches
LcConfigC_Set_TCL_API

LcConfigC - various functions to set config-dataMore...

+ Collaboration diagram for LcConfigC_Set_TCL_API:

Functions

static OT_ProcRet tcllcconfig_LcConfigC_SetDefaultFormat (LcConfigC_ARGS)
  Tcl: $config SetDefaultFormat format:LcConfigFormatE C-API
These functions, which are implemented as macros, get and set the default external format for settings in the configuration config
 
static OT_ProcRet tcllcconfig_LcConfigC_SetFloatPrecision (LcConfigC_ARGS)
  Tcl: $config SetFloatPrecision digits:int16 C-API
Since v1.6 These functions get and set the number of decimal digits to output after the radix character when writing the configuration to a file or stream …
 
static OT_ProcRet tcllcconfig_LcConfigC_SetIncludeDir (LcConfigC_ARGS)
  Tcl: $config SetIncludeDir include_dir:string C-API
config_set_include_dir specifies the include directory, include_dir, relative to which the files specified in '@include' directives will be located for the configuration config
 
static OT_ProcRet tcllcconfig_LcConfigC_SetIncludeFunc (LcConfigC_ARGS)
  Tcl: $cfg SetIncludeFunc ?fConfigIncludeData:LC_CBP="MK_NULL"? C-API
set the __parser__(callback-name) for the include-config-file
 
static OT_ProcRet tcllcconfig_LcConfigC_SetOption (LcConfigC_ARGS)
  Tcl: $config SetOption option:LcConfigOptionsEF flag:bool C-API
Since v1.7 These functions get and set the given option of the configuration config
 
static OT_ProcRet tcllcconfig_LcConfigC_SetOptions (LcConfigC_ARGS)
  Tcl: $config SetOptions options:LcConfigOptionsEF C-API
These functions get and set the options for the configuration config
 
static OT_ProcRet tcllcconfig_LcConfigC_SetSettingDeleteFunc (LcConfigC_ARGS)
  Tcl: $cfg SetSettingDeleteFunc ?fSettingDeleteData:LC_CBP="MK_NULL"? C-API
set the callback-name for the setting-delete
 
static OT_ProcRet tcllcconfig_LcConfigC_SetTabWidth (LcConfigC_ARGS)
  Tcl: $config SetTabWidth width:int16 C-API
These functions, which are implemented as macros, get and set the tab width for the configuration config
 

Detailed Description

LcConfigC - various functions to set config-data

Function Documentation

◆ tcllcconfig_LcConfigC_SetDefaultFormat()

static OT_ProcRet tcllcconfig_LcConfigC_SetDefaultFormat ( LcConfigC_ARGS )
static

Tcl: $config SetDefaultFormat format:LcConfigFormatE C-API
These functions, which are implemented as macros, get and set the default external format for settings in the configuration config

Definition at line 642 of file LcConfigC_tcl.c.

642 {
644 OT_SETUP_ONEARG(SetDefaultFormat_doc)
645 enum LcConfigFormatE format = 0;
646 OT_CHECK_REQUIRED(OT_CHECK_ENUM (LcConfigFormatE,format))
647 OT_CHECK_NOARGS
648 LcConfigSetDefaultFormat (hdl, format);
649 OT_retObj_SET_None
650 goto end;
651 error:
652 OT_retObj_SET_Error
653 end:
654 OT_retObj_RETURN
655}
#define OT_SETUP_hdl
#define SetDefaultFormat_doc
static void LcConfigSetDefaultFormat(LC_CFG config, enum LcConfigFormatE format)
These functions, which are implemented as macros, get and set the default external format for setting...
LcConfigFormatE
set the format of a LcSettingC …
Definition LcEnum_lc.h:33

◆ tcllcconfig_LcConfigC_SetFloatPrecision()

static OT_ProcRet tcllcconfig_LcConfigC_SetFloatPrecision ( LcConfigC_ARGS )
static

Tcl: $config SetFloatPrecision digits:int16 C-API
Since v1.6 These functions get and set the number of decimal digits to output after the radix character when writing the configuration to a file or stream …

Definition at line 658 of file LcConfigC_tcl.c.

658 {
660 OT_SETUP_ONEARG(SetFloatPrecision_doc)
661 MK_I16 digits = 0;
662 OT_CHECK_REQUIRED(OT_CHECK_NI2 (digits))
663 OT_CHECK_NOARGS
664 LcConfigSetFloatPrecision (hdl, digits);
665 OT_retObj_SET_None
666 goto end;
667 error:
668 OT_retObj_SET_Error
669 end:
670 OT_retObj_RETURN
671}
#define SetFloatPrecision_doc
static void LcConfigSetFloatPrecision(LC_CFG config, MK_I16 digits)
Since v1.6 These functions get and set the number of decimal digits to output after the radix charact...
signed short int MK_I16

◆ tcllcconfig_LcConfigC_SetIncludeDir()

static OT_ProcRet tcllcconfig_LcConfigC_SetIncludeDir ( LcConfigC_ARGS )
static

Tcl: $config SetIncludeDir include_dir:string C-API
config_set_include_dir specifies the include directory, include_dir, relative to which the files specified in '@include' directives will be located for the configuration config

Definition at line 674 of file LcConfigC_tcl.c.

674 {
676 OT_SETUP_ONEARG(SetIncludeDir_doc)
677 MK_STRN include_dir = 0;
678 OT_CHECK_REQUIRED(OT_CHECK_STRN (include_dir))
679 OT_CHECK_NOARGS
680 LcConfigSetIncludeDir (hdl, include_dir);
681 OT_retObj_SET_None
682 goto end;
683 error:
684 OT_retObj_SET_Error
685 end:
686 OT_retObj_RETURN
687}
#define SetIncludeDir_doc
static void LcConfigSetIncludeDir(LC_CFG config, MK_STRN include_dir)
config_set_include_dir specifies the include directory, include_dir, relative to which the files spec...
const MK_STRB * MK_STRN

◆ tcllcconfig_LcConfigC_SetIncludeFunc()

static OT_ProcRet tcllcconfig_LcConfigC_SetIncludeFunc ( LcConfigC_ARGS )
static

Tcl: $cfg SetIncludeFunc ?fConfigIncludeData:LC_CBP="MK_NULL"? C-API
set the __parser__(callback-name) for the include-config-file

Definition at line 690 of file LcConfigC_tcl.c.

690 {
692 OT_SETUP_VARARGS(0,1,SetIncludeFunc_doc)
693 OT_SETUP_CALLABLE(fConfigIncludeData)
694 OT_CHECK_OPTIONAL(OT_CHECK_CALLABLE(fConfigIncludeData))
695 OT_CHECK_NOARGS
696 LcConfigIncludeCallF fConfigIncludeCall = (fConfigIncludeData == NULL ? NULL : NS(ConfigIncludeCall));
697 MkErrorC_Check(hdl,LcConfigSetIncludeFunc (hdl, fConfigIncludeCall, fConfigIncludeData, NS(ConfigIncludeFree)));
698 OT_retObj_SET_None
699 goto end;
700 error:
701 OT_retObj_SET_Error
702 end:
703 OT_CLEANUP_CALLABLE(fConfigIncludeData)
704 OT_retObj_RETURN
705}
#define SetIncludeFunc_doc
enum MkErrorE(* LcConfigIncludeCallF)(LcConfigIncludeCallF_ARGS)
#define LcConfigSetIncludeFunc(...)

◆ tcllcconfig_LcConfigC_SetOption()

static OT_ProcRet tcllcconfig_LcConfigC_SetOption ( LcConfigC_ARGS )
static

Tcl: $config SetOption option:LcConfigOptionsEF flag:bool C-API
Since v1.7 These functions get and set the given option of the configuration config

Definition at line 708 of file LcConfigC_tcl.c.

708 {
710 OT_SETUP_VARARGS(2,2,SetOption_doc)
711 enum LcConfigOptionsEF option = 0;
712 OT_CHECK_REQUIRED(OT_CHECK_ENUM (LcConfigOptionsEF,option))
713 MK_BOOL flag = 0;
714 OT_CHECK_REQUIRED(OT_CHECK_bool (flag))
715 OT_CHECK_NOARGS
716 LcConfigSetOption (hdl, option, flag);
717 OT_retObj_SET_None
718 goto end;
719 error:
720 OT_retObj_SET_Error
721 end:
722 OT_retObj_RETURN
723}
#define SetOption_doc
static void LcConfigSetOption(LC_CFG config, enum LcConfigOptionsEF option, MK_BOOL flag)
Since v1.7 These functions get and set the given option of the configuration config …
LcConfigOptionsEF
define the configuration-option of a LcConfigC …
Definition LcEnum_lc.h:137
bool MK_BOOL

◆ tcllcconfig_LcConfigC_SetOptions()

static OT_ProcRet tcllcconfig_LcConfigC_SetOptions ( LcConfigC_ARGS )
static

Tcl: $config SetOptions options:LcConfigOptionsEF C-API
These functions get and set the options for the configuration config

Definition at line 726 of file LcConfigC_tcl.c.

726 {
728 OT_SETUP_ONEARG(SetOptions_doc)
729 enum LcConfigOptionsEF options = 0;
730 OT_CHECK_REQUIRED(OT_CHECK_ENUM (LcConfigOptionsEF,options))
731 OT_CHECK_NOARGS
732 LcConfigSetOptions (hdl, options);
733 OT_retObj_SET_None
734 goto end;
735 error:
736 OT_retObj_SET_Error
737 end:
738 OT_retObj_RETURN
739}
#define SetOptions_doc
static void LcConfigSetOptions(LC_CFG config, enum LcConfigOptionsEF options)
These functions get and set the options for the configuration config …

◆ tcllcconfig_LcConfigC_SetSettingDeleteFunc()

static OT_ProcRet tcllcconfig_LcConfigC_SetSettingDeleteFunc ( LcConfigC_ARGS )
static

Tcl: $cfg SetSettingDeleteFunc ?fSettingDeleteData:LC_CBP="MK_NULL"? C-API
set the callback-name for the setting-delete

Definition at line 742 of file LcConfigC_tcl.c.

742 {
744 OT_SETUP_VARARGS(0,1,SetSettingDeleteFunc_doc)
745 OT_SETUP_CALLABLE(fSettingDeleteData)
746 OT_CHECK_OPTIONAL(OT_CHECK_CALLABLE(fSettingDeleteData))
747 OT_CHECK_NOARGS
748 LcSettingDeleteCallF fSettingDeleteCall = (fSettingDeleteData == NULL ? NULL : NS(SettingDeleteCall));
749 MkErrorC_Check(hdl,LcConfigSetSettingDeleteFunc (hdl, fSettingDeleteCall, fSettingDeleteData, NS(SettingDeleteFree)));
750 OT_retObj_SET_None
751 goto end;
752 error:
753 OT_retObj_SET_Error
754 end:
755 OT_CLEANUP_CALLABLE(fSettingDeleteData)
756 OT_retObj_RETURN
757}
#define SetSettingDeleteFunc_doc
enum MkErrorE(* LcSettingDeleteCallF)(LcSettingDeleteCallF_ARGS)
#define LcConfigSetSettingDeleteFunc(...)

◆ tcllcconfig_LcConfigC_SetTabWidth()

static OT_ProcRet tcllcconfig_LcConfigC_SetTabWidth ( LcConfigC_ARGS )
static

Tcl: $config SetTabWidth width:int16 C-API
These functions, which are implemented as macros, get and set the tab width for the configuration config

Definition at line 760 of file LcConfigC_tcl.c.

760 {
762 OT_SETUP_ONEARG(SetTabWidth_doc)
763 MK_I16 width = 0;
764 OT_CHECK_REQUIRED(OT_CHECK_NI2 (width))
765 OT_CHECK_NOARGS
766 LcConfigSetTabWidth (hdl, width);
767 OT_retObj_SET_None
768 goto end;
769 error:
770 OT_retObj_SET_Error
771 end:
772 OT_retObj_RETURN
773}
#define SetTabWidth_doc
static void LcConfigSetTabWidth(LC_CFG config, MK_I16 width)
These functions, which are implemented as macros, get and set the tab width for the configuration con...