theKernel 10.0
Loading...
Searching...
No Matches
MkRuntimeC_Config_RB_API

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

+ Collaboration diagram for MkRuntimeC_Config_RB_API:

Functions

static OT_ProcRet rbmkkernel_MkRuntimeC_DebugGet (OtClass_ARGS)
  Ruby: (static) int32 MkRuntimeC.DebugGet() C-API
get the MkRuntimeS::debug value …
 
static OT_ProcRet rbmkkernel_MkRuntimeC_DebugSet (OtClass_ARGS)
  Ruby: (static) MkRuntimeC.DebugSet(dbg:int32) C-API
set the MkRuntimeS::debug value …
 
static OT_ProcRet rbmkkernel_MkRuntimeC_ErrorGetCode (OtClass_ARGS)
  Ruby: (static) MkErrorE MkRuntimeC.ErrorGetCode() C-API
return MkErrorS::code from a given MkRuntimeC
 
static OT_ProcRet rbmkkernel_MkRuntimeC_IsSilentGet (OtClass_ARGS)
  Ruby: (static) bool MkRuntimeC.IsSilentGet() C-API
get the MkRuntimeS::isSilent value …
 
static OT_ProcRet rbmkkernel_MkRuntimeC_IsSilentSet (OtClass_ARGS)
  Ruby: (static) MkRuntimeC.IsSilentSet(silent:bool) C-API
set the MkRuntimeS::isSilent value …
 
static OT_ProcRet rbmkkernel_MkRuntimeC_LogTargetGet (OtClass_ARGS)
  Ruby: (static) string MkRuntimeC.LogTargetGet() C-API
get the MkLogDataS::logNAME value …
 
static OT_ProcRet rbmkkernel_MkRuntimeC_LogTargetReset (OtClass_ARGS)
  Ruby: (static) MkRuntimeC.LogTargetReset() C-API
set the MkRuntimeS::log value to the DEFAULT value …
 
static OT_ProcRet rbmkkernel_MkRuntimeC_LogTargetSet (OtClass_ARGS)
  Ruby: (static) MkRuntimeC.LogTargetSet(logTgt:string) C-API
set the MkRuntimeS::log value and cleanup old value …
 
static OT_ProcRet rbmkkernel_MkRuntimeC_NoDecoSet (OtClass_ARGS)
  Ruby: (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

◆ rbmkkernel_MkRuntimeC_DebugGet()

static OT_ProcRet rbmkkernel_MkRuntimeC_DebugGet ( OtClass_ARGS )
static

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

Definition at line 139 of file MkRuntimeC_rb.c.

139 {
144 end: MK_UNUSED /* LONG JUMP on error */
146}
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_I32(nat)
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define OT_SETUP_hdl_static
#define DebugGet_doc
#define MK_UNUSED
mark unnused variables and functions
static MK_I32 MkRuntimeDebugGet(void)
get the MkRuntimeS::debug value …

◆ rbmkkernel_MkRuntimeC_DebugSet()

static OT_ProcRet rbmkkernel_MkRuntimeC_DebugSet ( OtClass_ARGS )
static

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

Definition at line 149 of file MkRuntimeC_rb.c.

149 {
152 MK_I32 dbg = 0;
155 MkRuntimeDebugSet (dbg);
157 end: MK_UNUSED /* LONG JUMP on error */
159}
#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 …

◆ rbmkkernel_MkRuntimeC_ErrorGetCode()

static OT_ProcRet rbmkkernel_MkRuntimeC_ErrorGetCode ( OtClass_ARGS )
static

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

Definition at line 162 of file MkRuntimeC_rb.c.

162 {
167 end: MK_UNUSED /* LONG JUMP on error */
169}
#define OT_NEW_Mk_enum_OBJ(typ, i)
#define OT_retObj_SET(val)
#define ErrorGetCode_doc
#define MkRuntimeErrorGetCode()

◆ rbmkkernel_MkRuntimeC_IsSilentGet()

static OT_ProcRet rbmkkernel_MkRuntimeC_IsSilentGet ( OtClass_ARGS )
static

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

Definition at line 172 of file MkRuntimeC_rb.c.

172 {
177 end: MK_UNUSED /* LONG JUMP on error */
179}
#define OT_retObj_SET_BOL(nat)
#define IsSilentGet_doc
static bool MkRuntimeIsSilentGet(void)
get the MkRuntimeS::isSilent value …

◆ rbmkkernel_MkRuntimeC_IsSilentSet()

static OT_ProcRet rbmkkernel_MkRuntimeC_IsSilentSet ( OtClass_ARGS )
static

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

Definition at line 182 of file MkRuntimeC_rb.c.

182 {
185 MK_BOOL silent = 0;
188 MkRuntimeIsSilentSet (silent);
190 end: MK_UNUSED /* LONG JUMP on error */
192}
#define OT_CHECK_bool(val)
#define IsSilentSet_doc
bool MK_BOOL
real bool data-type
#define MkRuntimeIsSilentSet(...)

◆ rbmkkernel_MkRuntimeC_LogTargetGet()

static OT_ProcRet rbmkkernel_MkRuntimeC_LogTargetGet ( OtClass_ARGS )
static

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

Definition at line 195 of file MkRuntimeC_rb.c.

195 {
200 end: MK_UNUSED /* LONG JUMP on error */
202}
#define OT_retObj_SET_STR(nat)
#define LogTargetGet_doc
static MK_STRN MkRuntimeLogTargetGet(void)
get the MkLogDataS::logNAME value …

◆ rbmkkernel_MkRuntimeC_LogTargetReset()

static OT_ProcRet rbmkkernel_MkRuntimeC_LogTargetReset ( OtClass_ARGS )
static

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

Definition at line 205 of file MkRuntimeC_rb.c.

205 {
211 end: MK_UNUSED /* LONG JUMP on error */
213}
#define MkErrorC_Check(mng, PROC)
#define LogTargetReset_doc
#define MK_ERROR_FORMAT
#define MkRuntimeLogTargetReset()

◆ rbmkkernel_MkRuntimeC_LogTargetSet()

static OT_ProcRet rbmkkernel_MkRuntimeC_LogTargetSet ( OtClass_ARGS )
static

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

Definition at line 216 of file MkRuntimeC_rb.c.

216 {
219 MK_STRN logTgt = 0;
224 end: MK_UNUSED /* LONG JUMP on error */
226}
#define OT_CHECK_STRN(val)
#define LogTargetSet_doc
const MK_STRB * MK_STRN
constant string pointer data-type
#define MkRuntimeLogTargetSet(...)

◆ rbmkkernel_MkRuntimeC_NoDecoSet()

static OT_ProcRet rbmkkernel_MkRuntimeC_NoDecoSet ( OtClass_ARGS )
static

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

Definition at line 229 of file MkRuntimeC_rb.c.

229 {
232 MK_BOOL noDeco = 0;
235 MkRuntimeNoDecoSet (noDeco);
237 end: MK_UNUSED /* LONG JUMP on error */
239}
#define NoDecoSet_doc
#define MkRuntimeNoDecoSet(...)