10#define META_FILE_NAME "MkRuntimeC_rb.c"
14#define OT_CLASS NS(MkRuntimeC)
15#define OT_CLASS_NAME "MkRuntimeC"
17#define OT_LNG2META(O) MkRt(VAL2MNG(O))
39 RUBY_TYPED_FREE_IMMEDIATELY
66 RDATA(self)->data = NULL;
69#define S_INIT NS(sInit)(MK_RT_CALL_ONLY)
87#define OT_SETUP_hdl OT_SETUP_hdl_tmpl(MkRuntimeC);
88#define OT_SETUP_hdl__null_allow OT_SETUP_hdl_tmpl__null_allow(MkRuntimeC);
89#define OT_SETUP_hdl_constr AllRtSetup_NULL; \
90 OT_OBJ_T clazz = self; \
91 MkRuntimeC_type hdl = (MkRuntimeC_type) &MkERROR;
92#define OT_SETUP_hdl_destr OT_SETUP_hdl_tmpl__null_allow(MkRuntimeC);
93#define OT_SETUP_hdl_static AllRtSetup_NULL; \
94 __attribute__((unused)) MK_TYP hdl = MkRuntimeC##_TT;
95#define OT_SETUP_hdl_static_constr OT_SETUP_hdl_static
97#if !defined(SetupRtFromObj_X)
98 #define SetupRtFromObj_X(hdl) AllRtSetup_X(hdl)
99 #define SetupRtFromObj_XN(hdl) AllRtSetup_XN(hdl)
107#define DebugGet_doc "int32 MkRuntimeC.DebugGet()"
108#define DebugSet_doc "MkRuntimeC.DebugSet(dbg:int32)"
109#define ErrorGetCode_doc "MkErrorE MkRuntimeC.ErrorGetCode()"
110#define IsSilentGet_doc "bool MkRuntimeC.IsSilentGet()"
111#define IsSilentSet_doc "MkRuntimeC.IsSilentSet(silent:bool)"
112#define Log0_doc "MkRuntimeC.Log0(?fmtobj:MkObjectC=nil?, ?debug:int32=0?, ?callfunc:string=\"MK_NULL\"?, ?lvl:int32=0?) (const)"
113#define LogTargetGet_doc "string MkRuntimeC.LogTargetGet()"
114#define LogTargetReset_doc "MkRuntimeC.LogTargetReset()"
115#define LogTargetSet_doc "MkRuntimeC.LogTargetSet(logTgt:string)"
116#define NoDecoSet_doc "MkRuntimeC.NoDecoSet(noDeco:bool)"
298OT_METH_O ( MkRuntimeC, DebugGet, MkRuntimeC_DebugGet )
299OT_METH_S ( MkRuntimeC, DebugGet, MkRuntimeC_DebugGet )
300OT_METH_O ( MkRuntimeC, DebugSet, MkRuntimeC_DebugSet )
301OT_METH_S ( MkRuntimeC, DebugSet, MkRuntimeC_DebugSet )
302OT_METH_O ( MkRuntimeC, ErrorGetCode, MkRuntimeC_ErrorGetCode )
303OT_METH_S ( MkRuntimeC, ErrorGetCode, MkRuntimeC_ErrorGetCode )
304OT_METH_O ( MkRuntimeC, IsSilentGet, MkRuntimeC_IsSilentGet )
305OT_METH_S ( MkRuntimeC, IsSilentGet, MkRuntimeC_IsSilentGet )
306OT_METH_O ( MkRuntimeC, IsSilentSet, MkRuntimeC_IsSilentSet )
307OT_METH_S ( MkRuntimeC, IsSilentSet, MkRuntimeC_IsSilentSet )
308OT_METH_O ( MkRuntimeC, Log0, MkRuntimeC_Log0 )
309OT_METH_S ( MkRuntimeC, Log0, MkRuntimeC_Log0 )
310OT_METH_O ( MkRuntimeC, LogTargetGet, MkRuntimeC_LogTargetGet )
311OT_METH_S ( MkRuntimeC, LogTargetGet, MkRuntimeC_LogTargetGet )
312OT_METH_O ( MkRuntimeC, LogTargetReset, MkRuntimeC_LogTargetReset )
313OT_METH_S ( MkRuntimeC, LogTargetReset, MkRuntimeC_LogTargetReset )
314OT_METH_O ( MkRuntimeC, LogTargetSet, MkRuntimeC_LogTargetSet )
315OT_METH_S ( MkRuntimeC, LogTargetSet, MkRuntimeC_LogTargetSet )
316OT_METH_O ( MkRuntimeC, NoDecoSet, MkRuntimeC_NoDecoSet )
317OT_METH_S ( MkRuntimeC, NoDecoSet, MkRuntimeC_NoDecoSet )
#define OT_CHECK_bool(val)
#define OT_SETUP_VARARGS(min, max, d)
#define OT_retObj_SET_BOL(nat)
#define OT_SETUP_NOARG(d)
#define OT_SETUP_ONEARG(d)
#define OT_NEW_Mk_enum_OBJ(typ, i)
#define OT_CHECK_NI4(val)
#define OT_METH_S(c, s, f)
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_SET_None
#define OT_retObj_SET_I32(nat)
#define OT_METH_O(c, s, f)
#define MkRuntimeC_MK_NULL
#define OT_OBJECT_DELETE_HARD(obj)
#define OT_retObj_SET_STR(nat)
#define OT_CHECK_OPTIONAL(val)
#define OT_retObj_SET(val)
#define MkErrorC_Check(mng, PROC)
#define OT_CHECK_STRN(val)
static MK_TYP MkRuntimeCTT
#define LogTargetReset_doc
#define OT_SETUP_hdl_static
#define MK_NULL_YES
flag, allow NULL
#define MK_UNUSED
mark unnused variables and functions
#define MK_NULL
The Programming-Language-Micro-Kernel (PLMK) NULL value as nil in Ruby …
MK_PTRB * MK_PTR
generic pointer data-type
const MK_STRB * MK_STRN
constant string pointer data-type
MK_PTRB * MK_MNG
managed object pointer, datatype will be checked at runtime
bool MK_BOOL
real bool data-type
signed int MK_I32
4 byte integer data-type
int MK_DBG
debug-level data-type …
static bool MkSysStringIsNULL(MK_STRN str)
test if string is NULL or EMPTY …
#define MkRuntimeC_TT
class as MkTypeS-class-type, useable in a class-macro as: class##_TT …
#define MkRuntimeC_T
class as MkTypeDefS-class-type, useable in a class-macro as: class##_T …
#define MkRuntimeLogTargetReset()
#define MkRuntimeErrorGetCode()
static void MkRuntimeDebugSet(MK_I32 dbg)
set the MkRuntimeS::debug value …
static bool MkRuntimeIsSilentGet(void)
get the MkRuntimeS::isSilent value …
#define MkRuntimeLogTargetSet(...)
#define MkRuntimeNoDecoSet(...)
static MK_I32 MkRuntimeDebugGet(void)
get the MkRuntimeS::debug value …
#define MkRuntimeIsSilentSet(...)
static MK_STRN MkRuntimeLogTargetGet(void)
get the MkLogDataS::logNAME value …
#define MkRuntimeLog0(...)
#define OT_CHECK_OBJN(val, nullB)
MkTypeS - class known as typ or type is used as class-base for a Managed-Object-Technology (MOT) type...
MkSelfUnlinkF selfUnlink
"unlink" the "self" pointer from META-Kernel
MkSelfDeleteF selfDelete
"delete" the "self" pointer
MkSelfCreateF selfCreate
"create" the "self" pointer