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

MkBufferC - various functions to get buffer-dataMore...

+ Collaboration diagram for MkBufferC_Get_C_API:

Functions

enum MkErrorE MkBufferGetI8_RT (MK_RT mkrt, MK_BUFN const buf, MK_I8 *const val_out)
 get a val_out from a MkBufferC
 
enum MkErrorE MkBufferGetBOL_RT (MK_RT mkrt, MK_BUFN const buf, MK_BOL *const val_out)
 get a val_out from a MkBufferC
 
enum MkErrorE MkBufferGetI16_RT (MK_RT mkrt, MK_BUFN const buf, MK_I16 *const val_out)
 get a val_out from a MkBufferC
 
enum MkErrorE MkBufferGetU16_RT (MK_RT mkrt, MK_BUFN const buf, MK_U16 *const val_out)
 get a val_out from a MkBufferC
 
enum MkErrorE MkBufferGetI32_RT (MK_RT mkrt, MK_BUFN const buf, MK_I32 *const val_out)
 get a val_out from a MkBufferC
 
enum MkErrorE MkBufferGetU32_RT (MK_RT mkrt, MK_BUFN const buf, MK_U32 *const val_out)
 get a val_out from a MkBufferC
 
enum MkErrorE MkBufferGetFLT_RT (MK_RT mkrt, MK_BUFN const buf, MK_FLT *const val_out)
 get a val_out from a MkBufferC
 
enum MkErrorE MkBufferGetI64_RT (MK_RT mkrt, MK_BUFN const buf, MK_I64 *const val_out)
 get a val_out from a MkBufferC
 
enum MkErrorE MkBufferGetDBL_RT (MK_RT mkrt, MK_BUFN const buf, MK_DBL *const val_out)
 get a val_out from a MkBufferC
 
enum MkErrorE MkBufferGetBIN_RT (MK_RT mkrt, MK_BUFN const buf, MkBinaryR *const val_out)
 get a val_out from a MkBufferC
 
enum MkErrorE MkBufferGetSTR_RT (MK_RT mkrt, MK_BUFN const buf, MK_STRN *const val_out)
 get a val_out from a MkBufferC
 
enum MkErrorE MkBufferGetStringR_RT (MK_RT mkrt, MK_BUFN const buf, MkStringR *const val_out)
 get a val_out from a MkBufferC
 
enum MkErrorE MkBufferGetBUF_RT (MK_RT mkrt, MK_BUF const buf, MK_BUF *const val_out)
 get a val_out from a MkBufferC
 
enum MkErrorE MkBufferGetBFL_RT (MK_RT mkrt, MK_BUFN const buf, MK_BFL *const val_inout)
 function to read an MkBufferListC from an MkBufferC object …
 
enum MkErrorE MkBufferGetLONG_RT (MK_RT mkrt, MK_BUFN const buf, MK_LONG *const val_out)
 get a val_out from a MkBufferC
 
enum MkErrorE MkBufferGetBOOL_RT (MK_RT mkrt, MK_BUFN const buf, MK_BOOL *const val_out)
 get a val_out from a MkBufferC
 

MkBufferC - MkBufferC_Get_C_API - overload

#define MkBufferGetBFL_NULL(...)
 
#define MkBufferGetBFL(...)
 
#define MkBufferGetBFL_E(...)
 
#define MkBufferGetBFL_C(...)
 
#define MkBufferGetBFL_e(...)
 
#define MkBufferGetBUF_NULL(...)
 
#define MkBufferGetBUF(...)
 
#define MkBufferGetBUF_E(...)
 
#define MkBufferGetBUF_C(...)
 
#define MkBufferGetBUF_e(...)
 
#define MkBufferGetBIN_NULL(...)
 
#define MkBufferGetBIN(...)
 
#define MkBufferGetBIN_E(...)
 
#define MkBufferGetBIN_C(...)
 
#define MkBufferGetBIN_e(...)
 
#define MkBufferGetBOL_NULL(...)
 
#define MkBufferGetBOL(...)
 
#define MkBufferGetBOL_E(...)
 
#define MkBufferGetBOL_C(...)
 
#define MkBufferGetBOL_e(...)
 
#define MkBufferGetBOOL_NULL(...)
 
#define MkBufferGetBOOL(...)
 
#define MkBufferGetBOOL_E(...)
 
#define MkBufferGetBOOL_C(...)
 
#define MkBufferGetBOOL_e(...)
 
#define MkBufferGetDBL_NULL(...)
 
#define MkBufferGetDBL(...)
 
#define MkBufferGetDBL_E(...)
 
#define MkBufferGetDBL_C(...)
 
#define MkBufferGetDBL_e(...)
 
#define MkBufferGetFLT_NULL(...)
 
#define MkBufferGetFLT(...)
 
#define MkBufferGetFLT_E(...)
 
#define MkBufferGetFLT_C(...)
 
#define MkBufferGetFLT_e(...)
 
#define MkBufferGetI16_NULL(...)
 
#define MkBufferGetI16(...)
 
#define MkBufferGetI16_E(...)
 
#define MkBufferGetI16_C(...)
 
#define MkBufferGetI16_e(...)
 
#define MkBufferGetI32_NULL(...)
 
#define MkBufferGetI32(...)
 
#define MkBufferGetI32_E(...)
 
#define MkBufferGetI32_C(...)
 
#define MkBufferGetI32_e(...)
 
#define MkBufferGetI64_NULL(...)
 
#define MkBufferGetI64(...)
 
#define MkBufferGetI64_E(...)
 
#define MkBufferGetI64_C(...)
 
#define MkBufferGetI64_e(...)
 
#define MkBufferGetI8_NULL(...)
 
#define MkBufferGetI8(...)
 
#define MkBufferGetI8_E(...)
 
#define MkBufferGetI8_C(...)
 
#define MkBufferGetI8_e(...)
 
#define MkBufferGetLONG_NULL(...)
 
#define MkBufferGetLONG(...)
 
#define MkBufferGetLONG_E(...)
 
#define MkBufferGetLONG_C(...)
 
#define MkBufferGetLONG_e(...)
 
#define MkBufferGetSTR_NULL(...)
 
#define MkBufferGetSTR(...)
 
#define MkBufferGetSTR_E(...)
 
#define MkBufferGetSTR_C(...)
 
#define MkBufferGetSTR_e(...)
 
#define MkBufferGetStringR_NULL(...)
 
#define MkBufferGetStringR(...)
 
#define MkBufferGetStringR_E(...)
 
#define MkBufferGetStringR_C(...)
 
#define MkBufferGetStringR_e(...)
 
#define MkBufferGetU16_NULL(...)
 
#define MkBufferGetU16(...)
 
#define MkBufferGetU16_E(...)
 
#define MkBufferGetU16_C(...)
 
#define MkBufferGetU16_e(...)
 
#define MkBufferGetU32_NULL(...)
 
#define MkBufferGetU32(...)
 
#define MkBufferGetU32_E(...)
 
#define MkBufferGetU32_C(...)
 
#define MkBufferGetU32_e(...)
 

Detailed Description

MkBufferC - various functions to get buffer-data

Macro Definition Documentation

◆ MkBufferGetBFL

#define MkBufferGetBFL ( ...)
Value:
enum MkErrorE MkBufferGetBFL_RT(MK_RT mkrt, MK_BUFN const buf, MK_BFL *const val_inout)
function to read an MkBufferListC from an MkBufferC object …
#define MK_RT_CALL

Definition at line 80 of file kernel_overload_mk.h.

◆ MkBufferGetBFL_C

#define MkBufferGetBFL_C ( ...)
Value:
if (MkErrorCheckI(MkBufferGetBFL(__VA_ARGS__)))
#define MkErrorCheckI(err)
#define MkBufferGetBFL(...)

Definition at line 82 of file kernel_overload_mk.h.

◆ MkBufferGetBFL_E

#define MkBufferGetBFL_E ( ...)
Value:
#define MkErrorCheck(err)
check return-code and goto error on error …

Definition at line 81 of file kernel_overload_mk.h.

◆ MkBufferGetBFL_e

#define MkBufferGetBFL_e ( ...)
Value:
MK_EMBEDDED(MK_BFL,MkBufferGetBFL,__VA_ARGS__)
The CLASS used to store a list of MkBufferS items into a flat array…

Definition at line 83 of file kernel_overload_mk.h.

◆ MkBufferGetBFL_NULL

#define MkBufferGetBFL_NULL ( ...)
Value:
#define MK_RT_CALL_NULL

Definition at line 79 of file kernel_overload_mk.h.

◆ MkBufferGetBIN

#define MkBufferGetBIN ( ...)
Value:
enum MkErrorE MkBufferGetBIN_RT(MK_RT mkrt, MK_BUFN const buf, MkBinaryR *const val_out)
get a val_out from a MkBufferC …

Definition at line 94 of file kernel_overload_mk.h.

◆ MkBufferGetBIN_C

#define MkBufferGetBIN_C ( ...)
Value:
if (MkErrorCheckI(MkBufferGetBIN(__VA_ARGS__)))
#define MkBufferGetBIN(...)

Definition at line 96 of file kernel_overload_mk.h.

◆ MkBufferGetBIN_E

#define MkBufferGetBIN_E ( ...)
Value:

Definition at line 95 of file kernel_overload_mk.h.

◆ MkBufferGetBIN_e

#define MkBufferGetBIN_e ( ...)
Value:
MK_EMBEDDED_REF(MkBinaryR,MkBufferGetBIN,__VA_ARGS__)
binary data default format …

Definition at line 97 of file kernel_overload_mk.h.

◆ MkBufferGetBIN_NULL

#define MkBufferGetBIN_NULL ( ...)
Value:

Definition at line 93 of file kernel_overload_mk.h.

◆ MkBufferGetBOL

#define MkBufferGetBOL ( ...)
Value:
enum MkErrorE MkBufferGetBOL_RT(MK_RT mkrt, MK_BUFN const buf, MK_BOL *const val_out)
get a val_out from a MkBufferC …

Definition at line 99 of file kernel_overload_mk.h.

◆ MkBufferGetBOL_C

#define MkBufferGetBOL_C ( ...)
Value:
if (MkErrorCheckI(MkBufferGetBOL(__VA_ARGS__)))
#define MkBufferGetBOL(...)

Definition at line 101 of file kernel_overload_mk.h.

◆ MkBufferGetBOL_E

#define MkBufferGetBOL_E ( ...)
Value:

Definition at line 100 of file kernel_overload_mk.h.

◆ MkBufferGetBOL_e

#define MkBufferGetBOL_e ( ...)
Value:
MK_EMBEDDED(MK_BOL,MkBufferGetBOL,__VA_ARGS__)
unsigned char MK_BOL
1 byte boolean data-type

Definition at line 102 of file kernel_overload_mk.h.

◆ MkBufferGetBOL_NULL

#define MkBufferGetBOL_NULL ( ...)
Value:

Definition at line 98 of file kernel_overload_mk.h.

◆ MkBufferGetBOOL

#define MkBufferGetBOOL ( ...)
Value:
enum MkErrorE MkBufferGetBOOL_RT(MK_RT mkrt, MK_BUFN const buf, MK_BOOL *const val_out)
get a val_out from a MkBufferC …

Definition at line 104 of file kernel_overload_mk.h.

◆ MkBufferGetBOOL_C

#define MkBufferGetBOOL_C ( ...)
Value:
if (MkErrorCheckI(MkBufferGetBOOL(__VA_ARGS__)))
#define MkBufferGetBOOL(...)

Definition at line 106 of file kernel_overload_mk.h.

◆ MkBufferGetBOOL_E

#define MkBufferGetBOOL_E ( ...)
Value:

Definition at line 105 of file kernel_overload_mk.h.

◆ MkBufferGetBOOL_e

#define MkBufferGetBOOL_e ( ...)
Value:
MK_EMBEDDED(MK_BOOL,MkBufferGetBOOL,__VA_ARGS__)
bool MK_BOOL
real bool data-type

Definition at line 107 of file kernel_overload_mk.h.

◆ MkBufferGetBOOL_NULL

#define MkBufferGetBOOL_NULL ( ...)
Value:

Definition at line 103 of file kernel_overload_mk.h.

◆ MkBufferGetBUF

#define MkBufferGetBUF ( ...)
Value:
enum MkErrorE MkBufferGetBUF_RT(MK_RT mkrt, MK_BUF const buf, MK_BUF *const val_out)
get a val_out from a MkBufferC …

Definition at line 87 of file kernel_overload_mk.h.

◆ MkBufferGetBUF_C

#define MkBufferGetBUF_C ( ...)
Value:
if (MkErrorCheckI(MkBufferGetBUF(__VA_ARGS__)))
#define MkBufferGetBUF(...)

Definition at line 89 of file kernel_overload_mk.h.

◆ MkBufferGetBUF_E

#define MkBufferGetBUF_E ( ...)
Value:

Definition at line 88 of file kernel_overload_mk.h.

◆ MkBufferGetBUF_e

#define MkBufferGetBUF_e ( ...)
Value:
MK_EMBEDDED(MK_BUF,MkBufferGetBUF,__VA_ARGS__)
The ABSTRACT-CLASS used to store a native-type-data-item defined by PRIMITIVE TYPE …

Definition at line 90 of file kernel_overload_mk.h.

◆ MkBufferGetBUF_NULL

#define MkBufferGetBUF_NULL ( ...)
Value:

Definition at line 86 of file kernel_overload_mk.h.

◆ MkBufferGetDBL

#define MkBufferGetDBL ( ...)
Value:
enum MkErrorE MkBufferGetDBL_RT(MK_RT mkrt, MK_BUFN const buf, MK_DBL *const val_out)
get a val_out from a MkBufferC …

Definition at line 109 of file kernel_overload_mk.h.

◆ MkBufferGetDBL_C

#define MkBufferGetDBL_C ( ...)
Value:
if (MkErrorCheckI(MkBufferGetDBL(__VA_ARGS__)))
#define MkBufferGetDBL(...)

Definition at line 111 of file kernel_overload_mk.h.

◆ MkBufferGetDBL_E

#define MkBufferGetDBL_E ( ...)
Value:

Definition at line 110 of file kernel_overload_mk.h.

◆ MkBufferGetDBL_e

#define MkBufferGetDBL_e ( ...)
Value:
MK_EMBEDDED(MK_DBL,MkBufferGetDBL,__VA_ARGS__)
double MK_DBL
8 byte double data-type

Definition at line 112 of file kernel_overload_mk.h.

◆ MkBufferGetDBL_NULL

#define MkBufferGetDBL_NULL ( ...)
Value:

Definition at line 108 of file kernel_overload_mk.h.

◆ MkBufferGetFLT

#define MkBufferGetFLT ( ...)
Value:
enum MkErrorE MkBufferGetFLT_RT(MK_RT mkrt, MK_BUFN const buf, MK_FLT *const val_out)
get a val_out from a MkBufferC …

Definition at line 114 of file kernel_overload_mk.h.

◆ MkBufferGetFLT_C

#define MkBufferGetFLT_C ( ...)
Value:
if (MkErrorCheckI(MkBufferGetFLT(__VA_ARGS__)))
#define MkBufferGetFLT(...)

Definition at line 116 of file kernel_overload_mk.h.

◆ MkBufferGetFLT_E

#define MkBufferGetFLT_E ( ...)
Value:

Definition at line 115 of file kernel_overload_mk.h.

◆ MkBufferGetFLT_e

#define MkBufferGetFLT_e ( ...)
Value:
MK_EMBEDDED(MK_FLT,MkBufferGetFLT,__VA_ARGS__)
float MK_FLT
4 byte float data-type

Definition at line 117 of file kernel_overload_mk.h.

◆ MkBufferGetFLT_NULL

#define MkBufferGetFLT_NULL ( ...)
Value:

Definition at line 113 of file kernel_overload_mk.h.

◆ MkBufferGetI16

#define MkBufferGetI16 ( ...)
Value:
enum MkErrorE MkBufferGetI16_RT(MK_RT mkrt, MK_BUFN const buf, MK_I16 *const val_out)
get a val_out from a MkBufferC …

Definition at line 119 of file kernel_overload_mk.h.

◆ MkBufferGetI16_C

#define MkBufferGetI16_C ( ...)
Value:
if (MkErrorCheckI(MkBufferGetI16(__VA_ARGS__)))
#define MkBufferGetI16(...)

Definition at line 121 of file kernel_overload_mk.h.

◆ MkBufferGetI16_E

#define MkBufferGetI16_E ( ...)
Value:

Definition at line 120 of file kernel_overload_mk.h.

◆ MkBufferGetI16_e

#define MkBufferGetI16_e ( ...)
Value:
MK_EMBEDDED(MK_I16,MkBufferGetI16,__VA_ARGS__)
signed short int MK_I16
2 byte short data-type

Definition at line 122 of file kernel_overload_mk.h.

◆ MkBufferGetI16_NULL

#define MkBufferGetI16_NULL ( ...)
Value:

Definition at line 118 of file kernel_overload_mk.h.

◆ MkBufferGetI32

#define MkBufferGetI32 ( ...)
Value:
enum MkErrorE MkBufferGetI32_RT(MK_RT mkrt, MK_BUFN const buf, MK_I32 *const val_out)
get a val_out from a MkBufferC …

Definition at line 124 of file kernel_overload_mk.h.

◆ MkBufferGetI32_C

#define MkBufferGetI32_C ( ...)
Value:
if (MkErrorCheckI(MkBufferGetI32(__VA_ARGS__)))
#define MkBufferGetI32(...)

Definition at line 126 of file kernel_overload_mk.h.

◆ MkBufferGetI32_E

#define MkBufferGetI32_E ( ...)
Value:

Definition at line 125 of file kernel_overload_mk.h.

◆ MkBufferGetI32_e

#define MkBufferGetI32_e ( ...)
Value:
MK_EMBEDDED(MK_I32,MkBufferGetI32,__VA_ARGS__)
signed int MK_I32
4 byte integer data-type

Definition at line 127 of file kernel_overload_mk.h.

◆ MkBufferGetI32_NULL

#define MkBufferGetI32_NULL ( ...)
Value:

Definition at line 123 of file kernel_overload_mk.h.

◆ MkBufferGetI64

#define MkBufferGetI64 ( ...)
Value:
enum MkErrorE MkBufferGetI64_RT(MK_RT mkrt, MK_BUFN const buf, MK_I64 *const val_out)
get a val_out from a MkBufferC …

Definition at line 129 of file kernel_overload_mk.h.

◆ MkBufferGetI64_C

#define MkBufferGetI64_C ( ...)
Value:
if (MkErrorCheckI(MkBufferGetI64(__VA_ARGS__)))
#define MkBufferGetI64(...)

Definition at line 131 of file kernel_overload_mk.h.

◆ MkBufferGetI64_E

#define MkBufferGetI64_E ( ...)
Value:

Definition at line 130 of file kernel_overload_mk.h.

◆ MkBufferGetI64_e

#define MkBufferGetI64_e ( ...)
Value:
MK_EMBEDDED(MK_I64,MkBufferGetI64,__VA_ARGS__)
signed long long MK_I64
8 byte wide integer data-type

Definition at line 132 of file kernel_overload_mk.h.

◆ MkBufferGetI64_NULL

#define MkBufferGetI64_NULL ( ...)
Value:

Definition at line 128 of file kernel_overload_mk.h.

◆ MkBufferGetI8

#define MkBufferGetI8 ( ...)
Value:
enum MkErrorE MkBufferGetI8_RT(MK_RT mkrt, MK_BUFN const buf, MK_I8 *const val_out)
get a val_out from a MkBufferC …

Definition at line 134 of file kernel_overload_mk.h.

◆ MkBufferGetI8_C

#define MkBufferGetI8_C ( ...)
Value:
if (MkErrorCheckI(MkBufferGetI8(__VA_ARGS__)))
#define MkBufferGetI8(...)

Definition at line 136 of file kernel_overload_mk.h.

◆ MkBufferGetI8_E

#define MkBufferGetI8_E ( ...)
Value:

Definition at line 135 of file kernel_overload_mk.h.

◆ MkBufferGetI8_e

#define MkBufferGetI8_e ( ...)
Value:
MK_EMBEDDED(MK_I8,MkBufferGetI8,__VA_ARGS__)
signed char MK_I8
1 byte byte data-type

Definition at line 137 of file kernel_overload_mk.h.

◆ MkBufferGetI8_NULL

#define MkBufferGetI8_NULL ( ...)
Value:

Definition at line 133 of file kernel_overload_mk.h.

◆ MkBufferGetLONG

#define MkBufferGetLONG ( ...)
Value:
enum MkErrorE MkBufferGetLONG_RT(MK_RT mkrt, MK_BUFN const buf, MK_LONG *const val_out)
get a val_out from a MkBufferC …

Definition at line 139 of file kernel_overload_mk.h.

◆ MkBufferGetLONG_C

#define MkBufferGetLONG_C ( ...)
Value:
if (MkErrorCheckI(MkBufferGetLONG(__VA_ARGS__)))
#define MkBufferGetLONG(...)

Definition at line 141 of file kernel_overload_mk.h.

◆ MkBufferGetLONG_E

#define MkBufferGetLONG_E ( ...)
Value:

Definition at line 140 of file kernel_overload_mk.h.

◆ MkBufferGetLONG_e

#define MkBufferGetLONG_e ( ...)
Value:
MK_EMBEDDED(MK_LONG,MkBufferGetLONG,__VA_ARGS__)
long MK_LONG
4/8 byte long data-type

Definition at line 142 of file kernel_overload_mk.h.

◆ MkBufferGetLONG_NULL

#define MkBufferGetLONG_NULL ( ...)
Value:

Definition at line 138 of file kernel_overload_mk.h.

◆ MkBufferGetSTR

#define MkBufferGetSTR ( ...)
Value:
enum MkErrorE MkBufferGetSTR_RT(MK_RT mkrt, MK_BUFN const buf, MK_STRN *const val_out)
get a val_out from a MkBufferC …

Definition at line 144 of file kernel_overload_mk.h.

◆ MkBufferGetSTR_C

#define MkBufferGetSTR_C ( ...)
Value:
if (MkErrorCheckI(MkBufferGetSTR(__VA_ARGS__)))
#define MkBufferGetSTR(...)

Definition at line 146 of file kernel_overload_mk.h.

◆ MkBufferGetSTR_E

#define MkBufferGetSTR_E ( ...)
Value:

Definition at line 145 of file kernel_overload_mk.h.

◆ MkBufferGetSTR_e

#define MkBufferGetSTR_e ( ...)
Value:
MK_EMBEDDED(MK_STRN,MkBufferGetSTR,__VA_ARGS__)
const MK_STRB * MK_STRN
constant string pointer data-type

Definition at line 147 of file kernel_overload_mk.h.

◆ MkBufferGetSTR_NULL

#define MkBufferGetSTR_NULL ( ...)
Value:

Definition at line 143 of file kernel_overload_mk.h.

◆ MkBufferGetStringR

#define MkBufferGetStringR ( ...)
Value:
enum MkErrorE MkBufferGetStringR_RT(MK_RT mkrt, MK_BUFN const buf, MkStringR *const val_out)
get a val_out from a MkBufferC …

Definition at line 149 of file kernel_overload_mk.h.

◆ MkBufferGetStringR_C

#define MkBufferGetStringR_C ( ...)
Value:
#define MkBufferGetStringR(...)

Definition at line 151 of file kernel_overload_mk.h.

◆ MkBufferGetStringR_E

#define MkBufferGetStringR_E ( ...)
Value:

Definition at line 150 of file kernel_overload_mk.h.

◆ MkBufferGetStringR_e

#define MkBufferGetStringR_e ( ...)
Value:
MK_EMBEDDED_REF(MkStringR,MkBufferGetStringR,__VA_ARGS__)
string data default format …

Definition at line 152 of file kernel_overload_mk.h.

◆ MkBufferGetStringR_NULL

#define MkBufferGetStringR_NULL ( ...)
Value:

Definition at line 148 of file kernel_overload_mk.h.

◆ MkBufferGetU16

#define MkBufferGetU16 ( ...)
Value:
enum MkErrorE MkBufferGetU16_RT(MK_RT mkrt, MK_BUFN const buf, MK_U16 *const val_out)
get a val_out from a MkBufferC …

Definition at line 154 of file kernel_overload_mk.h.

◆ MkBufferGetU16_C

#define MkBufferGetU16_C ( ...)
Value:
if (MkErrorCheckI(MkBufferGetU16(__VA_ARGS__)))
#define MkBufferGetU16(...)

Definition at line 156 of file kernel_overload_mk.h.

◆ MkBufferGetU16_E

#define MkBufferGetU16_E ( ...)
Value:

Definition at line 155 of file kernel_overload_mk.h.

◆ MkBufferGetU16_e

#define MkBufferGetU16_e ( ...)
Value:
MK_EMBEDDED(MK_I16,MkBufferGetU16,__VA_ARGS__)

Definition at line 157 of file kernel_overload_mk.h.

◆ MkBufferGetU16_NULL

#define MkBufferGetU16_NULL ( ...)
Value:

Definition at line 153 of file kernel_overload_mk.h.

◆ MkBufferGetU32

#define MkBufferGetU32 ( ...)
Value:
enum MkErrorE MkBufferGetU32_RT(MK_RT mkrt, MK_BUFN const buf, MK_U32 *const val_out)
get a val_out from a MkBufferC …

Definition at line 159 of file kernel_overload_mk.h.

◆ MkBufferGetU32_C

#define MkBufferGetU32_C ( ...)
Value:
if (MkErrorCheckI(MkBufferGetU32(__VA_ARGS__)))
#define MkBufferGetU32(...)

Definition at line 161 of file kernel_overload_mk.h.

◆ MkBufferGetU32_E

#define MkBufferGetU32_E ( ...)
Value:

Definition at line 160 of file kernel_overload_mk.h.

◆ MkBufferGetU32_e

#define MkBufferGetU32_e ( ...)
Value:
MK_EMBEDDED(MK_I32,MkBufferGetU32,__VA_ARGS__)

Definition at line 162 of file kernel_overload_mk.h.

◆ MkBufferGetU32_NULL

#define MkBufferGetU32_NULL ( ...)
Value:

Definition at line 158 of file kernel_overload_mk.h.

Function Documentation

◆ MkBufferGetBFL_RT()

enum MkErrorE MkBufferGetBFL_RT ( MK_RT mkrt,
MK_BUFN const buf,
MK_BFL *const val_inout )

function to read an MkBufferListC from an MkBufferC object …

This function read a buffer-item created with MqSendL_START and MqSendL_END into a temporary MkBufferListC.

Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]bufthe MkBufferS instance to work on
[in,out]val_inoutthe reference object or MK_NULL at error
  • The reference object have to be non MK_NULL.
  • If reference object is a refrence to a non MK_NULL object than the reference object is populated with the result.
  • If reference object is a refrence to a MK_NULL object than :
    • The reference object is set to the TLS alocated object owned by the Programming-Language-Micro-Kernel (PLMK).
    • (do not free) The memory of the reference object value belongs to the called libmkkernel function and therefore never becomes MK_NULL for a non-error result.
      For details on the reference object value, see: MkKernel_Storage_C_API.
  • The newly created reference-object is owned by the caller.
Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk

◆ MkBufferGetBIN_RT()

enum MkErrorE MkBufferGetBIN_RT ( MK_RT mkrt,
MK_BUFN const buf,
MkBinaryR *const val_out )

get a val_out from a MkBufferC

The MkBufferGetTT style of functions always return a val_out or a MkErrorC.

The val_out can be a PRIMITIVE TYPE, a class-type or a pointer-type (binary, string etc).

Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) - (nonnull)
[in]bufthe MkBufferS instance to work on - (nonnull)
[out]val_outthe value to return - (nonnull)
Attention
In general MkBinaryR is owned by the called function, to get your own copy use MkBinaryDup.

◆ MkBufferGetBOL_RT()

enum MkErrorE MkBufferGetBOL_RT ( MK_RT mkrt,
MK_BUFN const buf,
MK_BOL *const val_out )

get a val_out from a MkBufferC

The MkBufferGetTT style of functions always return a val_out or a MkErrorC.

The val_out can be a PRIMITIVE TYPE, a class-type or a pointer-type (binary, string etc).

Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) - (nonnull)
[in]bufthe MkBufferS instance to work on - (nonnull)
[out]val_outthe value to return - (nonnull)

◆ MkBufferGetBOOL_RT()

enum MkErrorE MkBufferGetBOOL_RT ( MK_RT mkrt,
MK_BUFN const buf,
MK_BOOL *const val_out )

get a val_out from a MkBufferC

The MkBufferGetTT style of functions always return a val_out or a MkErrorC.

The val_out can be a PRIMITIVE TYPE, a class-type or a pointer-type (binary, string etc).

Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) - (nonnull)
[in]bufthe MkBufferS instance to work on - (nonnull)
[out]val_outthe value to return - (nonnull)

◆ MkBufferGetBUF_RT()

enum MkErrorE MkBufferGetBUF_RT ( MK_RT mkrt,
MK_BUF const buf,
MK_BUF *const val_out )

get a val_out from a MkBufferC

The MkBufferGetTT style of functions always return a val_out or a MkErrorC.

The val_out can be a PRIMITIVE TYPE, a class-type or a pointer-type (binary, string etc).

Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) - (nonnull)
[in]bufthe MkBufferS instance to work on - (nonnull)
[out]val_outthe value to return - (nonnull)
Attention
The return-pointer (val_out) will always be the input-pointer (buf).

◆ MkBufferGetDBL_RT()

enum MkErrorE MkBufferGetDBL_RT ( MK_RT mkrt,
MK_BUFN const buf,
MK_DBL *const val_out )

get a val_out from a MkBufferC

The MkBufferGetTT style of functions always return a val_out or a MkErrorC.

The val_out can be a PRIMITIVE TYPE, a class-type or a pointer-type (binary, string etc).

Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) - (nonnull)
[in]bufthe MkBufferS instance to work on - (nonnull)
[out]val_outthe value to return - (nonnull)

◆ MkBufferGetFLT_RT()

enum MkErrorE MkBufferGetFLT_RT ( MK_RT mkrt,
MK_BUFN const buf,
MK_FLT *const val_out )

get a val_out from a MkBufferC

The MkBufferGetTT style of functions always return a val_out or a MkErrorC.

The val_out can be a PRIMITIVE TYPE, a class-type or a pointer-type (binary, string etc).

Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) - (nonnull)
[in]bufthe MkBufferS instance to work on - (nonnull)
[out]val_outthe value to return - (nonnull)

◆ MkBufferGetI16_RT()

enum MkErrorE MkBufferGetI16_RT ( MK_RT mkrt,
MK_BUFN const buf,
MK_I16 *const val_out )

get a val_out from a MkBufferC

The MkBufferGetTT style of functions always return a val_out or a MkErrorC.

The val_out can be a PRIMITIVE TYPE, a class-type or a pointer-type (binary, string etc).

Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) - (nonnull)
[in]bufthe MkBufferS instance to work on - (nonnull)
[out]val_outthe value to return - (nonnull)

◆ MkBufferGetI32_RT()

enum MkErrorE MkBufferGetI32_RT ( MK_RT mkrt,
MK_BUFN const buf,
MK_I32 *const val_out )

get a val_out from a MkBufferC

The MkBufferGetTT style of functions always return a val_out or a MkErrorC.

The val_out can be a PRIMITIVE TYPE, a class-type or a pointer-type (binary, string etc).

Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) - (nonnull)
[in]bufthe MkBufferS instance to work on - (nonnull)
[out]val_outthe value to return - (nonnull)

◆ MkBufferGetI64_RT()

enum MkErrorE MkBufferGetI64_RT ( MK_RT mkrt,
MK_BUFN const buf,
MK_I64 *const val_out )

get a val_out from a MkBufferC

The MkBufferGetTT style of functions always return a val_out or a MkErrorC.

The val_out can be a PRIMITIVE TYPE, a class-type or a pointer-type (binary, string etc).

Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) - (nonnull)
[in]bufthe MkBufferS instance to work on - (nonnull)
[out]val_outthe value to return - (nonnull)

◆ MkBufferGetI8_RT()

enum MkErrorE MkBufferGetI8_RT ( MK_RT mkrt,
MK_BUFN const buf,
MK_I8 *const val_out )

get a val_out from a MkBufferC

The MkBufferGetTT style of functions always return a val_out or a MkErrorC.

The val_out can be a PRIMITIVE TYPE, a class-type or a pointer-type (binary, string etc).

Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) - (nonnull)
[in]bufthe MkBufferS instance to work on - (nonnull)
[out]val_outthe value to return - (nonnull)

◆ MkBufferGetLONG_RT()

enum MkErrorE MkBufferGetLONG_RT ( MK_RT mkrt,
MK_BUFN const buf,
MK_LONG *const val_out )

get a val_out from a MkBufferC

The MkBufferGetTT style of functions always return a val_out or a MkErrorC.

The val_out can be a PRIMITIVE TYPE, a class-type or a pointer-type (binary, string etc).

Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) - (nonnull)
[in]bufthe MkBufferS instance to work on - (nonnull)
[out]val_outthe value to return - (nonnull)

◆ MkBufferGetSTR_RT()

enum MkErrorE MkBufferGetSTR_RT ( MK_RT mkrt,
MK_BUFN const buf,
MK_STRN *const val_out )

get a val_out from a MkBufferC

The MkBufferGetTT style of functions always return a val_out or a MkErrorC.

The val_out can be a PRIMITIVE TYPE, a class-type or a pointer-type (binary, string etc).

Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) - (nonnull)
[in]bufthe MkBufferS instance to work on - (nonnull)
[out]val_outthe value to return - (nonnull)
Attention
The return-pointer (out) is owned by the MkBufferC object -> never free this pointer.

◆ MkBufferGetStringR_RT()

enum MkErrorE MkBufferGetStringR_RT ( MK_RT mkrt,
MK_BUFN const buf,
MkStringR *const val_out )

get a val_out from a MkBufferC

The MkBufferGetTT style of functions always return a val_out or a MkErrorC.

The val_out can be a PRIMITIVE TYPE, a class-type or a pointer-type (binary, string etc).

Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) - (nonnull)
[in]bufthe MkBufferS instance to work on - (nonnull)
[out]val_outthe value to return - (nonnull)
Attention
The return-pointer is a referenc but the embedded MK_STR is owned by the MkBufferC object -> never free this pointer.

◆ MkBufferGetU16_RT()

enum MkErrorE MkBufferGetU16_RT ( MK_RT mkrt,
MK_BUFN const buf,
MK_U16 *const val_out )

get a val_out from a MkBufferC

The MkBufferGetTT style of functions always return a val_out or a MkErrorC.

The val_out can be a PRIMITIVE TYPE, a class-type or a pointer-type (binary, string etc).

Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) - (nonnull)
[in]bufthe MkBufferS instance to work on - (nonnull)
[out]val_outthe value to return - (nonnull)

◆ MkBufferGetU32_RT()

enum MkErrorE MkBufferGetU32_RT ( MK_RT mkrt,
MK_BUFN const buf,
MK_U32 *const val_out )

get a val_out from a MkBufferC

The MkBufferGetTT style of functions always return a val_out or a MkErrorC.

The val_out can be a PRIMITIVE TYPE, a class-type or a pointer-type (binary, string etc).

Returns
The MkErrorE status from the DEFAULT MkErrorC in MkRuntimeS::error_mk
Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) - (nonnull)
[in]bufthe MkBufferS instance to work on - (nonnull)
[out]val_outthe value to return - (nonnull)