18using System.Runtime.InteropServices;
32 internal struct MkCall {
40 private static MkErrorE ObjectDeleteCall (
41 IntPtr
mkrt, IntPtr obj, IntPtr typeName, Int32 typeHdl, Int32 objHdl, IntPtr data
44 if (data == IntPtr.Zero)
return MkErrorE.OK;
45 MkCall dataC = (MkCall)GCHandle.FromIntPtr(data).Target;
50 if (dataC.callSCB !=
null) {
51 dataC.callSCB(Marshal.PtrToStringAnsi(typeName), typeHdl, objHdl);
53 }
catch (Exception ex) {
61 private static void ObjectDeleteFree (IntPtr
mkrt, ref IntPtr data) {
62 GCHandle.FromIntPtr(data).Free();
MkErrorC - the class known as err or error is used to create and manage an error message …
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-...
delegate void MkObjectDeleteSCB(string typeName, int typeHdl, int objHdl)
implements the csmkkernel API object: public version from MkObjectDeleteSCB as method
static unsafe MkErrorE CsRuntimeErrorGetCode(IntPtr mkrt)
MkErrorC Catch(Exception exception=null, [CallerMemberName]string callfunc=null)
C#: MkErrorC err.Catch(Exception exception = null, [CallerMemberName]string callfunc = null) → C-AP...
static MkErrorC DEFAULT()
C#: [static] MkErrorC MkErrorC.DEFAULT() → C-API default-system-error - default-error …
MkErrorE
→ C-API: MkErrorE → C-API: MkErrorE