MkBufferListC - define the class … More...
Topics | |
MkBufferListC_Class_Define_C_API | |
MkBufferListC - low level definition, access and cast … | |
Typedefs | |
typedef struct MkBufferListS * | MK_BFL |
class-shortcut for struct MkBufferListS * , all shortcut using the XX_YYY syntax (only for public API) … | |
typedef const struct MkBufferListS * | MK_BFLN |
class-shortcut for const struct MkBufferListS * , all const shortcut using the XX_YYYC syntax (only for public API) … | |
typedef struct MkBufferListS | MK_BFLR |
reference-shortcut for struct MkBufferListS , all shortcut using the XX_YYYR syntax (only for public API) … | |
typedef struct MkBufferListS * | MK_BAC |
a list of 'buffer' as last argument in function … | |
typedef const struct MkBufferListS * | MK_BACN |
const - a list of 'buffer' as last argument in function … | |
MkBufferListC - Introspection - inline - access to all instances created by class starting with the last one | |
MK_BFL | MkBufferListInstances_RT (MK_PARSER_RT_ONLY) |
get head-instance from linked-list of MkBufferListS type … | |
MK_BFL | MkBufferListNext (MK_BFL const bfl) |
get next instance from linked-list of MkBufferListS type | |
MK_BFL | MkBufferListPrev (MK_BFL const bfl) |
get previous instance from linked-list of MkBufferListS type | |
MkBufferListC - Export - inline - interact with an external software | |
MK_HDL | MkBufferListHandleGet_RT (MK_RT mkrt, MK_BFL const bfl) |
Handle-Get-Slot - returns a export-hdl to the MkBufferListC useable for external storage | |
MK_BFL | MkBufferListHandleResolve_RT (MK_RT mkrt, MK_HDL const netHdl) |
Handle-Resolve-Slot - return a MkBufferListC from netHdl or MK_NULL if invalid… | |
#define | MkBufferListHandleResolve_e(netHdl) |
wrapper for MkBufferListHandleResolve with error-handline | |
MkBufferListC - Misc - function - unspecified functions to perform different tasks | |
MK_BFL | MkBufferListGetNull (void) |
Null-Slot - return a MkBufferListC typed NULL instance … | |
MkBufferListC - Export - function | |
MK_EXTERN MK_BFL | MkBufferListHandleResolveP (MK_RT mkrt, MK_HDL const netHdl) |
Non-inline replacement for MkBufferListHandleResolve … | |
MK_EXTERN MK_HDL | MkBufferListHandleGetP (MK_RT mkrt, MK_BFL const bfl) |
Non-inline replacement for MkBufferListHandleGet … | |
MkBufferListC - Introspection - function | |
MK_EXTERN MK_BFL | MkBufferListNextP (MK_BFL const bfl) |
Non-inline replacement for MkBufferListNext … | |
MK_EXTERN MK_BFL | MkBufferListPrevP (MK_BFL const bfl) |
Non-inline replacement for MkBufferListPrev … | |
MK_EXTERN MK_BFL | MkBufferListInstancesP (MK_PARSER_RT_ONLY) |
Non-inline replacement for MkBufferListInstances … | |
MkBufferListC - Misc - function | |
MK_EXTERN MK_BFL | MkBufferListGetNullP (void) |
Non-inline replacement for MkBufferListGetNull … | |
MkBufferListC - Export - overload | |
#define | MkBufferListHandleResolve_NULL(...) |
#define | MkBufferListHandleResolve(...) |
#define | MkBufferListHandleGet_NULL(...) |
#define | MkBufferListHandleGet(...) |
MkBufferListC - Introspection - overload | |
#define | MkBufferListInstances_NULL() |
#define | MkBufferListInstances() |
MkBufferListC - define the class …
#define MkBufferListHandleGet | ( | ... | ) |
Definition at line 480 of file kernel_overload_mk.h.
#define MkBufferListHandleGet_NULL | ( | ... | ) |
Definition at line 479 of file kernel_overload_mk.h.
#define MkBufferListHandleResolve | ( | ... | ) |
Definition at line 476 of file kernel_overload_mk.h.
#define MkBufferListHandleResolve_e | ( | netHdl | ) |
wrapper for MkBufferListHandleResolve with error-handline
[in] | netHdl | The handle previously returned by MkObjectHandleGet. |
MK_NULL
with an error set.0
than MK_NULL
is returned and the upper-code decide how to deal with it.MK_NULL
if the netHdl is invalid or the underlying object has already been deleted.MK_NULL
is returned than an error-message is created and a jump to the label error is done.Definition at line 283 of file MkBufferListC_def_mk.h.
#define MkBufferListHandleResolve_NULL | ( | ... | ) |
Definition at line 475 of file kernel_overload_mk.h.
#define MkBufferListInstances | ( | ) |
Definition at line 491 of file kernel_overload_mk.h.
#define MkBufferListInstances_NULL | ( | ) |
Definition at line 490 of file kernel_overload_mk.h.
typedef struct MkBufferListS* MK_BAC |
a list of 'buffer' as last argument in function …
Definition at line 1534 of file LibMkKernel_mk.h.
typedef const struct MkBufferListS* MK_BACN |
const - a list of 'buffer' as last argument in function …
Definition at line 1539 of file LibMkKernel_mk.h.
typedef struct MkBufferListS* MK_BFL |
class-shortcut for struct MkBufferListS *
, all shortcut using the XX_YYY
syntax (only for public API) …
Definition at line 1421 of file LibMkKernel_mk.h.
typedef const struct MkBufferListS* MK_BFLN |
class-shortcut for const struct MkBufferListS *
, all const shortcut using the XX_YYYC
syntax (only for public API) …
Definition at line 1424 of file LibMkKernel_mk.h.
typedef struct MkBufferListS MK_BFLR |
reference-shortcut for struct MkBufferListS
, all shortcut using the XX_YYYR
syntax (only for public API) …
Definition at line 1427 of file LibMkKernel_mk.h.
|
inline |
Null-Slot - return a MkBufferListC typed NULL
instance …
Definition at line 308 of file MkBufferListC_def_mk.h.
Non-inline replacement for MkBufferListGetNull …
Handle-Get-Slot - returns a export-hdl to the MkBufferListC useable for external storage
The export-hdl is a reference to an instance that can be stored in software and converted back into an instance using the MkBufferListHandleResolve.
The export-hdl is only valid until the Programming-Language-Micro-Kernel (PLMK) ends.
example: The export-hdl is used in rpc to identify an object across the network.
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | bfl | the MkBufferListS instance to work on |
Definition at line 250 of file MkBufferListC_def_mk.h.
Non-inline replacement for MkBufferListHandleGet …
Handle-Resolve-Slot - return a MkBufferListC from netHdl or MK_NULL
if invalid…
The MkBufferListHandleResolve undo the MkBufferListHandleGet and is intended to export a unique identifer into external code not belonging to the Programming-Language-Micro-Kernel (PLMK).
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | netHdl | handle former exported with MkBufferListHandleGet |
MK_NULL
if netHdl is invalid Definition at line 267 of file MkBufferListC_def_mk.h.
Non-inline replacement for MkBufferListHandleResolve …
|
inline |
get head-instance from linked-list of MkBufferListS type …
The head-instance is the last instance created.
Definition at line 12327 of file LibMkKernel_mk.h.
MK_EXTERN MK_BFL MkBufferListInstancesP | ( | MK_PARSER_RT_ONLY | ) |
Non-inline replacement for MkBufferListInstances …
get next instance from linked-list of MkBufferListS type
Definition at line 12334 of file LibMkKernel_mk.h.
Non-inline replacement for MkBufferListNext …
get previous instance from linked-list of MkBufferListS type
Definition at line 12341 of file LibMkKernel_mk.h.
Non-inline replacement for MkBufferListPrev …