11using System.Threading;
12using System.Reflection;
13using System.Runtime.InteropServices;
14using System.Runtime.CompilerServices;
22 public partial class MkRuntimeC : MkObjectC
32 Mk.MkRuntimeSetCID(IntPtr.Zero);
39 public partial class MkRuntimeC {
49 Int32 __retVal__L =
Mk.MkRuntimeDebugGet();
55 Mk.MkRuntimeDebugSet(dbg);
66 bool __retVal__L =
Mk.MkRuntimeIsSilentGet();
72 Mk.MkRuntimeIsSilentSet(IntPtr.Zero, silent);
77 IntPtr __retVal__L =
Mk.MkRuntimeLogTargetGet();
78 return Marshal.PtrToStringAnsi(__retVal__L);
83 MkErrorE errVal =
Mk.MkRuntimeLogTargetReset(IntPtr.Zero);
89 IntPtr logTgt_cstr = Marshal.StringToHGlobalAnsi(logTgt);
90 MkErrorE errVal =
Mk.MkRuntimeLogTargetSet(IntPtr.Zero, logTgt_cstr);
91 Marshal.FreeHGlobal(logTgt_cstr);
97 Mk.MkRuntimeNoDecoSet(IntPtr.Zero, noDeco);
113 public static void Log0 (
MkObjectC fmtobj =
null,
int debug = 0, [CallerMemberName]
string callfunc =
null,
int lvl = 0) {
116 IntPtr callfunc_cstr = Marshal.StringToHGlobalAnsi(callfunc);
117 Mk.MkRuntimeLog0(IntPtr.Zero, fmtobj_hdl, debug, callfunc_cstr, lvl);
118 Marshal.FreeHGlobal(callfunc_cstr);
MkErrorC - the class known as err or error is used to create and manage an error message …
static void Check(IntPtr ctx, MkErrorE err)
MkKernel PACKAGE - The package is the toplevel structure of the Programming-Language-Micro-Kernel (PL...
MkObjectC - class known as obj or object is used as base-class type for a Programming-Language-Micro-...
static IntPtr getOBJ_null_allow(MkObjectC obj)
MkRuntimeC - The class known as mkrt or runtime is the main csmkkernel application environment …
static MkErrorE MkRuntimeErrorGetCode(IntPtr mkrt)
static string LogTargetGet()
C#: [static] string MkRuntimeC.LogTargetGet() → C-API get the MkLogDataS::logNAME value …
static void NoDecoSet(bool noDeco)
C#: [static] MkRuntimeC.NoDecoSet(bool noDeco) → C-API set the MkRuntimeS::noDeco value …
static bool IsSilentGet()
C#: [static] bool MkRuntimeC.IsSilentGet() → C-API get the MkRuntimeS::isSilent value …
static int DebugGet()
C#: [static] int MkRuntimeC.DebugGet() → C-API get the MkRuntimeS::debug value …
static void LogTargetReset()
C#: [static] MkRuntimeC.LogTargetReset() → C-API set the MkRuntimeS::log value to the DEFAULT va...
static void DebugSet(int dbg)
C#: [static] MkRuntimeC.DebugSet(int dbg) → C-API set the MkRuntimeS::debug value …
static MkErrorE ErrorGetCode()
C#: [static] MkErrorE MkRuntimeC.ErrorGetCode() → C-API return MkErrorS.code from a given MkRunt...
static void LogTargetSet(string logTgt)
C#: [static] MkRuntimeC.LogTargetSet(string logTgt) → C-API set the MkRuntimeS::log value and cl...
static void IsSilentSet(bool silent)
C#: [static] MkRuntimeC.IsSilentSet(bool silent) → C-API set the MkRuntimeS::isSilent value …
static void Log0(MkObjectC fmtobj=null, int debug=0, [CallerMemberName]string callfunc=null, int lvl=0)
C#: [static] MkRuntimeC.Log0(MkObjectC fmtobj = null, int debug = 0, [CallerMemberName]string callfun...
MkErrorE
→ C-API: MkErrorE → C-API: MkErrorE