theKernel 10.0
Loading...
Searching...
No Matches
LibMkKernel_cs.c File Reference

tag: nhi1-release-250425 More...

#include "LibMkKernel_cs.h"
+ Include dependency graph for LibMkKernel_cs.c:

Go to the source code of this file.

Macros

#define META_FILE_NAME   "LibMkKernel_cs.c"
 

Functions

void MkCsTypeUpdate_RT (MK_RT mkrt, MkCsTypeLookupE const typeL, MkSelfCreateF const selfCTOR, MkSelfUnlinkF const selfUnlink)
 

Detailed Description

tag: nhi1-release-250425

Definition in file LibMkKernel_cs.c.

Macro Definition Documentation

◆ META_FILE_NAME

#define META_FILE_NAME   "LibMkKernel_cs.c"

Definition at line 11 of file LibMkKernel_cs.c.

Function Documentation

◆ MkCsTypeUpdate_RT()

void MkCsTypeUpdate_RT ( MK_RT mkrt,
MkCsTypeLookupE const typeL,
MkSelfCreateF const selfCTOR,
MkSelfUnlinkF const selfUnlink )

Definition at line 17 of file LibMkKernel_cs.c.

22 {
24 MK_TYP type = NULL;
25 switch (typeL) {
26 // BEGIN-CLS - created by 'cs_PreMeta.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
27
28 case MK_CS_TYPE_LOOKUP_OBJ : type = MkObjectC_TT ; break;
29 case MK_CS_TYPE_LOOKUP_BUF : type = MkBufferC_TT ; break;
30 case MK_CS_TYPE_LOOKUP_BUS : type = MkBufferStreamC_TT ; break;
31 case MK_CS_TYPE_LOOKUP_BFL : type = MkBufferListC_TT ; break;
32 case MK_CS_TYPE_LOOKUP_LFL : type = MkLogFileC_TT ; break;
33 case MK_CS_TYPE_LOOKUP_ERR : type = MkErrorC_TT ; break;
34 case MK_CS_TYPE_LOOKUP_RT : type = MkRuntimeC_TT ; break;
35
36 // END-CLS - created by 'cs_PreMeta.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
37 }
38 if (type == NULL) {
39 MkPanicC_1("get invalid type enum '%d' not part of 'MkCsTypeLookupE'");
40 }
41 type->selfCreate = selfCTOR;
42 type->selfUnlink = selfUnlink;
43}
#define MkBufferC_TT
class as MkTypeS-class-type, useable in a class-macro as: class##_TT …
#define MkBufferListC_TT
class as MkTypeS-class-type, useable in a class-macro as: class##_TT …
#define MkBufferStreamC_TT
class as MkTypeS-class-type, useable in a class-macro as: class##_TT …
#define MkErrorC_TT
class as MkTypeS-class-type, useable in a class-macro as: class##_TT …
#define MkPanicC_1(message)
#define MkLogFileC_TT
class as MkTypeS-class-type, useable in a class-macro as: class##_TT …
#define MkObjectC_TT
class as MkTypeS-class-type, useable in a class-macro as: class##_TT …
#define MkRuntimeC_TT
class as MkTypeS-class-type, useable in a class-macro as: class##_TT …
#define MK_STATIC_RT
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
MkSelfCreateF selfCreate
"create" the "self" pointer