theKernel 10.0
Loading...
Searching...
No Matches
MkRuntimeC_Config_PY_API

MkRuntimeC - various functions to configure the MkRuntimeRLS (only C) … More...

+ Collaboration diagram for MkRuntimeC_Config_PY_API:

Functions

static OT_ProcRet pymkkernel_MkRuntimeC_DebugGet (OtClass_ARGS)
  Python: [static] int32 MkRuntimeC.DebugGet() C-API
get the MkRuntimeS::debug value …
 
static OT_ProcRet pymkkernel_MkRuntimeC_DebugSet (OtClass_ARGS)
  Python: [static] MkRuntimeC.DebugSet(dbg:int32) C-API
set the MkRuntimeS::debug value …
 
static OT_ProcRet pymkkernel_MkRuntimeC_ErrorGetCode (OtClass_ARGS)
  Python: [static] MkErrorE MkRuntimeC.ErrorGetCode() C-API
return MkErrorS::code from a given MkRuntimeC
 
static OT_ProcRet pymkkernel_MkRuntimeC_IsSilentGet (OtClass_ARGS)
  Python: [static] bool MkRuntimeC.IsSilentGet() C-API
get the MkRuntimeS::isSilent value …
 
static OT_ProcRet pymkkernel_MkRuntimeC_IsSilentSet (OtClass_ARGS)
  Python: [static] MkRuntimeC.IsSilentSet(silent:bool) C-API
set the MkRuntimeS::isSilent value …
 
static OT_ProcRet pymkkernel_MkRuntimeC_LogTargetGet (OtClass_ARGS)
  Python: [static] string MkRuntimeC.LogTargetGet() C-API
get the MkLogDataS::logNAME value …
 
static OT_ProcRet pymkkernel_MkRuntimeC_LogTargetReset (OtClass_ARGS)
  Python: [static] MkRuntimeC.LogTargetReset() C-API
set the MkRuntimeS::log value to the DEFAULT value …
 
static OT_ProcRet pymkkernel_MkRuntimeC_LogTargetSet (OtClass_ARGS)
  Python: [static] MkRuntimeC.LogTargetSet(logTgt:string) C-API
set the MkRuntimeS::log value and cleanup old value …
 
static OT_ProcRet pymkkernel_MkRuntimeC_NoDecoSet (OtClass_ARGS)
  Python: [static] MkRuntimeC.NoDecoSet(noDeco:bool) C-API
set the MkRuntimeS::noDeco value …
 

Detailed Description

MkRuntimeC - various functions to configure the MkRuntimeRLS (only C) …

The MkRuntimeRLS-configuration belongs to a single MkRuntimeRLS. In a threadable application, each thread has its own MkRuntimeRLS and therefore its own configuration.

A function ending in 'I' is the inline variant of the function without the 'I' and is preferred in C.

Method definition

The MkRuntimeRLS-configuration belongs to a single MkRuntimeRLS. In a threadable application, each thread has its own MkRuntimeRLS and therefore its own configuration.

A function ending in 'I' is the inline variant of the function without the 'I' and is preferred in C.

Function Documentation

◆ pymkkernel_MkRuntimeC_DebugGet()

static OT_ProcRet pymkkernel_MkRuntimeC_DebugGet ( OtClass_ARGS )
static

Python: [static] int32 MkRuntimeC.DebugGet() C-API
get the MkRuntimeS::debug value …

Definition at line 132 of file MkRuntimeC_py.c.

132 {
137 goto end;
138 error:
140 end:
142}
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_Error
#define OT_retObj_SET_I32(nat)
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define OT_SETUP_hdl_static
#define DebugGet_doc
static MK_I32 MkRuntimeDebugGet(void)
get the MkRuntimeS::debug value …

◆ pymkkernel_MkRuntimeC_DebugSet()

static OT_ProcRet pymkkernel_MkRuntimeC_DebugSet ( OtClass_ARGS )
static

Python: [static] MkRuntimeC.DebugSet(dbg:int32) C-API
set the MkRuntimeS::debug value …

Definition at line 145 of file MkRuntimeC_py.c.

145 {
148 MK_I32 dbg = 0;
151 MkRuntimeDebugSet (dbg);
153 goto end;
154 error:
156 end:
158}
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_NI4(val)
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_SET_None
#define DebugSet_doc
signed int MK_I32
4 byte integer data-type
static void MkRuntimeDebugSet(MK_I32 dbg)
set the MkRuntimeS::debug value …

◆ pymkkernel_MkRuntimeC_ErrorGetCode()

static OT_ProcRet pymkkernel_MkRuntimeC_ErrorGetCode ( OtClass_ARGS )
static

Python: [static] MkErrorE MkRuntimeC.ErrorGetCode() C-API
return MkErrorS::code from a given MkRuntimeC

Definition at line 161 of file MkRuntimeC_py.c.

161 {
166 goto end;
167 error:
169 end:
171}
#define OT_NEW_Mk_enum_OBJ(typ, val)
#define OT_retObj_SET(val)
#define ErrorGetCode_doc
#define MkRuntimeErrorGetCode()

◆ pymkkernel_MkRuntimeC_IsSilentGet()

static OT_ProcRet pymkkernel_MkRuntimeC_IsSilentGet ( OtClass_ARGS )
static

Python: [static] bool MkRuntimeC.IsSilentGet() C-API
get the MkRuntimeS::isSilent value …

Definition at line 174 of file MkRuntimeC_py.c.

174 {
179 goto end;
180 error:
182 end:
184}
#define OT_retObj_SET_BOL(nat)
#define IsSilentGet_doc
static bool MkRuntimeIsSilentGet(void)
get the MkRuntimeS::isSilent value …

◆ pymkkernel_MkRuntimeC_IsSilentSet()

static OT_ProcRet pymkkernel_MkRuntimeC_IsSilentSet ( OtClass_ARGS )
static

Python: [static] MkRuntimeC.IsSilentSet(silent:bool) C-API
set the MkRuntimeS::isSilent value …

Definition at line 187 of file MkRuntimeC_py.c.

187 {
190 MK_BOOL silent = 0;
193 MkRuntimeIsSilentSet (silent);
195 goto end;
196 error:
198 end:
200}
#define OT_CHECK_bool(val)
#define IsSilentSet_doc
bool MK_BOOL
real bool data-type
#define MkRuntimeIsSilentSet(...)

◆ pymkkernel_MkRuntimeC_LogTargetGet()

static OT_ProcRet pymkkernel_MkRuntimeC_LogTargetGet ( OtClass_ARGS )
static

Python: [static] string MkRuntimeC.LogTargetGet() C-API
get the MkLogDataS::logNAME value …

Definition at line 203 of file MkRuntimeC_py.c.

203 {
208 goto end;
209 error:
211 end:
213}
#define OT_retObj_SET_STR(nat)
#define LogTargetGet_doc
static MK_STRN MkRuntimeLogTargetGet(void)
get the MkLogDataS::logNAME value …

◆ pymkkernel_MkRuntimeC_LogTargetReset()

static OT_ProcRet pymkkernel_MkRuntimeC_LogTargetReset ( OtClass_ARGS )
static

Python: [static] MkRuntimeC.LogTargetReset() C-API
set the MkRuntimeS::log value to the DEFAULT value …

Definition at line 216 of file MkRuntimeC_py.c.

216 {
222 goto end;
223 error:
225 end:
227}
#define MkErrorC_Check(mng, PROC)
#define LogTargetReset_doc
#define MK_ERROR_FORMAT
#define MkRuntimeLogTargetReset()

◆ pymkkernel_MkRuntimeC_LogTargetSet()

static OT_ProcRet pymkkernel_MkRuntimeC_LogTargetSet ( OtClass_ARGS )
static

Python: [static] MkRuntimeC.LogTargetSet(logTgt:string) C-API
set the MkRuntimeS::log value and cleanup old value …

Definition at line 230 of file MkRuntimeC_py.c.

230 {
233 MK_STRN logTgt = 0;
238 goto end;
239 error:
241 end:
243}
#define OT_CHECK_STRN(val)
#define LogTargetSet_doc
const MK_STRB * MK_STRN
constant string pointer data-type
#define MkRuntimeLogTargetSet(...)

◆ pymkkernel_MkRuntimeC_NoDecoSet()

static OT_ProcRet pymkkernel_MkRuntimeC_NoDecoSet ( OtClass_ARGS )
static

Python: [static] MkRuntimeC.NoDecoSet(noDeco:bool) C-API
set the MkRuntimeS::noDeco value …

Definition at line 246 of file MkRuntimeC_py.c.

246 {
249 MK_BOOL noDeco = 0;
252 MkRuntimeNoDecoSet (noDeco);
254 goto end;
255 error:
257 end:
259}
#define NoDecoSet_doc
#define MkRuntimeNoDecoSet(...)