theKernel 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - py - rb - jv - cc
Loading...
Searching...
No Matches
MkExtensionC_C_API

MkExtensionS - the class to add an additional feature into an existinng (final) class without subclass … More...

+ Collaboration diagram for MkExtensionC_C_API:

Topics

 MkExtensionC_Class_C_API
 MkExtensionS - define the class …
 
 MkExtensionC_Class_Define_C_API
 MkExtensionS - low level definition, access and cast …
 

Classes

struct  libmkkernel::MkExtensionS
 Base class for the extension technologie … More...
 

Typedefs

typedef struct libmkkernel::MkExtensionS libmkkernel::MkExtensionS
 Base class for the extension technologie …
 

Functions

MK_EXTERN bool libmkkernel::MkExtensionDeleteAll_RT (MK_RT mkrt, MK_EXT head)
 
MK_EXTERN MK_EXT libmkkernel::MkExtensionAdd_RT (MK_RT mkrt, MK_EXT head, MK_EXT add)
 this is an update to head, use: head = MkExtensionAdd(head, add)
 
MK_EXTERN MK_EXT libmkkernel::MkExtensionDel_RT (MK_RT mkrt, MK_EXT head, MK_EXT del)
 this is an update to head, use: head = MkExtensionDel(head, del)
 

MkExtensionC - MkExtensionC_C_API - overload

#define MkExtensionAdd_NULL(...)
 
#define MkExtensionAdd(...)
 
#define MkExtensionDel_NULL(...)
 
#define MkExtensionDel(...)
 
#define MkExtensionDeleteAll_NULL(...)
 
#define MkExtensionDeleteAll(...)
 

Detailed Description

MkExtensionS - the class to add an additional feature into an existinng (final) class without subclass …

A final class is used at MkRuntimeS::error_mk or MkRuntimeRLS to provide a per-thread-storage. An package sometimes need more features than this final classes provide. The extension-api is used to attach additional features with a double-linked-list into an existing class.

Macro Definition Documentation

◆ MkExtensionAdd

#define MkExtensionAdd ( ...)
Value:
MkExtensionAdd_RT(MK_RT_CALL __VA_ARGS__)
#define MK_RT_CALL

Definition at line 1299 of file kernel_overload_mk.h.

◆ MkExtensionAdd_NULL

#define MkExtensionAdd_NULL ( ...)
Value:
MkExtensionAdd_RT(MK_RT_CALL_NULL __VA_ARGS__)
#define MK_RT_CALL_NULL

Definition at line 1298 of file kernel_overload_mk.h.

◆ MkExtensionDel

#define MkExtensionDel ( ...)
Value:
MkExtensionDel_RT(MK_RT_CALL __VA_ARGS__)

Definition at line 1301 of file kernel_overload_mk.h.

◆ MkExtensionDel_NULL

#define MkExtensionDel_NULL ( ...)
Value:
MkExtensionDel_RT(MK_RT_CALL_NULL __VA_ARGS__)

Definition at line 1300 of file kernel_overload_mk.h.

◆ MkExtensionDeleteAll

#define MkExtensionDeleteAll ( ...)
Value:
MkExtensionDeleteAll_RT(MK_RT_CALL __VA_ARGS__)

Definition at line 1305 of file kernel_overload_mk.h.

◆ MkExtensionDeleteAll_NULL

#define MkExtensionDeleteAll_NULL ( ...)
Value:
MkExtensionDeleteAll_RT(MK_RT_CALL_NULL __VA_ARGS__)

Definition at line 1304 of file kernel_overload_mk.h.

Typedef Documentation

◆ MkExtensionS

typedef struct libmkkernel::MkExtensionS libmkkernel::MkExtensionS

Base class for the extension technologie …

Function Documentation

◆ MkExtensionAdd_RT()

MK_EXTERN MK_EXT libmkkernel::MkExtensionAdd_RT ( MK_RT mkrt,
MK_EXT head,
MK_EXT add )

this is an update to head, use: head = MkExtensionAdd(head, add)

◆ MkExtensionDel_RT()

MK_EXTERN MK_EXT libmkkernel::MkExtensionDel_RT ( MK_RT mkrt,
MK_EXT head,
MK_EXT del )

this is an update to head, use: head = MkExtensionDel(head, del)

◆ MkExtensionDeleteAll_RT()

MK_EXTERN bool libmkkernel::MkExtensionDeleteAll_RT ( MK_RT mkrt,
MK_EXT head )