theKernel 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - py - jv - cc
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 py_mkkernel_MkRuntimeC_GetDebug (OtClass_ARGS)
  Python: [static] int32 MkRuntimeC.GetDebug() C-API
get the MkRuntimeS::debug value …
 
static OT_ProcRet py_mkkernel_MkRuntimeC_GetIsSilent (OtClass_ARGS)
  Python: [static] bool MkRuntimeC.GetIsSilent() C-API
get the MkRuntimeS::isSilent value …
 
static OT_ProcRet py_mkkernel_MkRuntimeC_GetLogfile (OtClass_ARGS)
  Python: [static] string MkRuntimeC.GetLogfile() C-API
get the MkRuntimeS::logfile value …
 
static OT_ProcRet py_mkkernel_MkRuntimeC_SetDebug (OtClass_ARGS)
  Python: [static] MkRuntimeC.SetDebug(dbg:int32) C-API
set the MkRuntimeS::debug value …
 
static OT_ProcRet py_mkkernel_MkRuntimeC_SetIsSilent (OtClass_ARGS)
  Python: [static] MkRuntimeC.SetIsSilent(silent:bool) C-API
set the MkRuntimeS::isSilent value …
 
static OT_ProcRet py_mkkernel_MkRuntimeC_SetLogfile (OtClass_ARGS)
  Python: [static] MkRuntimeC.SetLogfile(logfile:string) C-API
set the MkRuntimeS::logfile value and cleanup old 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.

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

◆ py_mkkernel_MkRuntimeC_GetDebug()

static OT_ProcRet py_mkkernel_MkRuntimeC_GetDebug ( OtClass_ARGS )
static

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

Definition at line 240 of file MkRuntimeC_py.c.

240 {
242 OT_SETUP_NOARG(GetDebug_doc)
243 OT_CHECK_NOARGS
244 OT_retObj_SET_I32(MkRuntimeGetDebug ())
245 goto end;
246 error:
247 OT_retObj_SET_Error
248 end:
249 OT_retObj_RETURN
250}
#define GetDebug_doc
#define OT_SETUP_hdl_static
MK_I32 MkRuntimeGetDebug(void)
get the MkRuntimeS::debug value …

◆ py_mkkernel_MkRuntimeC_GetIsSilent()

static OT_ProcRet py_mkkernel_MkRuntimeC_GetIsSilent ( OtClass_ARGS )
static

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

Definition at line 253 of file MkRuntimeC_py.c.

253 {
255 OT_SETUP_NOARG(GetIsSilent_doc)
256 OT_CHECK_NOARGS
257 OT_retObj_SET_BOL(MkRuntimeGetIsSilent ())
258 goto end;
259 error:
260 OT_retObj_SET_Error
261 end:
262 OT_retObj_RETURN
263}
#define GetIsSilent_doc
bool MkRuntimeGetIsSilent(void)
get the MkRuntimeS::isSilent value …

◆ py_mkkernel_MkRuntimeC_GetLogfile()

static OT_ProcRet py_mkkernel_MkRuntimeC_GetLogfile ( OtClass_ARGS )
static

Python: [static] string MkRuntimeC.GetLogfile() C-API
get the MkRuntimeS::logfile value …

Definition at line 266 of file MkRuntimeC_py.c.

266 {
268 OT_SETUP_NOARG(GetLogfile_doc)
269 OT_CHECK_NOARGS
270 OT_retObj_SET_STR(MkRuntimeGetLogfile ())
271 goto end;
272 error:
273 OT_retObj_SET_Error
274 end:
275 OT_retObj_RETURN
276}
#define GetLogfile_doc
MK_STRN MkRuntimeGetLogfile(void)
get the MkRuntimeS::logfile value …

◆ py_mkkernel_MkRuntimeC_SetDebug()

static OT_ProcRet py_mkkernel_MkRuntimeC_SetDebug ( OtClass_ARGS )
static

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

Definition at line 279 of file MkRuntimeC_py.c.

279 {
281 OT_SETUP_ONEARG(SetDebug_doc)
282 MK_I32 dbg = 0;
283 OT_CHECK_REQUIRED(OT_CHECK_NI4 (dbg))
284 OT_CHECK_NOARGS
285 MkRuntimeSetDebug (dbg);
286 OT_retObj_SET_None
287 goto end;
288 error:
289 OT_retObj_SET_Error
290 end:
291 OT_retObj_RETURN
292}
#define SetDebug_doc
signed int MK_I32
4 byte integer data-type
void MkRuntimeSetDebug(MK_I32 dbg)
set the MkRuntimeS::debug value …

◆ py_mkkernel_MkRuntimeC_SetIsSilent()

static OT_ProcRet py_mkkernel_MkRuntimeC_SetIsSilent ( OtClass_ARGS )
static

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

Definition at line 295 of file MkRuntimeC_py.c.

295 {
297 OT_SETUP_ONEARG(SetIsSilent_doc)
298 MK_BOOL silent = 0;
299 OT_CHECK_REQUIRED(OT_CHECK_bool (silent))
300 OT_CHECK_NOARGS
301 MkRuntimeSetIsSilent (silent);
302 OT_retObj_SET_None
303 goto end;
304 error:
305 OT_retObj_SET_Error
306 end:
307 OT_retObj_RETURN
308}
#define SetIsSilent_doc
bool MK_BOOL
real bool data-type
void MkRuntimeSetIsSilent(bool silent)
set the MkRuntimeS::isSilent value …

◆ py_mkkernel_MkRuntimeC_SetLogfile()

static OT_ProcRet py_mkkernel_MkRuntimeC_SetLogfile ( OtClass_ARGS )
static

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

Definition at line 311 of file MkRuntimeC_py.c.

311 {
313 OT_SETUP_ONEARG(SetLogfile_doc)
314 MK_STRN logfile = 0;
315 OT_CHECK_REQUIRED(OT_CHECK_STRN (logfile))
316 OT_CHECK_NOARGS
317 MkErrorC_Check(MK_ERROR_FORMAT,MkRuntimeSetLogfile (logfile));
318 OT_retObj_SET_None
319 goto end;
320 error:
321 OT_retObj_SET_Error
322 end:
323 OT_retObj_RETURN
324}
#define SetLogfile_doc
#define MK_ERROR_FORMAT
const MK_STRB * MK_STRN
constant string pointer data-type
#define MkRuntimeSetLogfile(...)