MkKernel PACKAGE - a collection of common used data types and definitions … More...
Collaboration diagram for MkKernel_Type_C_API:Classes | |
| struct | MK_STRN_A |
| array of MK_STRN values … More... | |
Macros | |
| #define | MK_ALFA '@' |
| MK_ALFA the command-line separator between server and client … | |
| #define | MK_ALFA_STR ((MkStringR){1,"@"}) |
| MK_ALFA the command-line separator as string … | |
Typedefs | |
| typedef void(* | MkMarkF) (MK_RT mkrt, MK_PTR data) |
| prototype for a Garbage-Collection mark function … | |
boolean data-type | |
| typedef unsigned char | MK_BOL |
| 1 byte boolean data-type | |
| typedef bool | MK_BOOL |
| real bool data-type | |
| #define | bool2str(_bool) |
signed integer data-type | |
| typedef signed char | MK_I8 |
| 1 byte byte data-type | |
| typedef signed short int | MK_I16 |
| 2 byte short data-type | |
| typedef signed int | MK_I32 |
| 4 byte integer data-type | |
| typedef signed long long | MK_I64 |
| 8 byte wide integer data-type | |
| typedef long | MK_LONG |
| 4/8 byte long data-type | |
unsigned integer data-type | |
| typedef unsigned char | MK_U8 |
| typedef unsigned short | MK_U16 |
| typedef unsigned int | MK_U32 |
| typedef unsigned long long | MK_U64 |
| typedef unsigned long | MK_ULN |
float data-type | |
| typedef float | MK_FLT |
| 4 byte float data-type | |
| typedef double | MK_DBL |
| 8 byte double data-type | |
"handle" data-type | |
4 byte int handle data-type The handle is a special type to represent an object as numeric-type able to be stored into an external-software. The handle support the following API:
| |
| typedef int32_t | MK_HDL |
| 4 byte int handle data-type | |
| #define | MK_HDL_REF_S3(__prefix) |
| #define | MK_HDL_REF_S1(__prefix) |
| #define | MK_HDLT MK_I32T |
misc data-type | |
| typedef long | MK_SIZE |
| typedef union MkBufferAtomU | MK_ATO |
| 8 byte atom data-type | |
| typedef int32_t | MK_NUM |
| array size data-type ('num' items in array … | |
| typedef int | MK_DBG |
| debug-level data-type … | |
| typedef unsigned int | MK_SIG |
| signature datatype | |
| #define | MK_FORMAT_N "%i" |
OS wide MK_TIME_T | |
timeout in seconds as "integer" value | |
| typedef time_t | MK_TIME_T |
| #define | MK_FORMAT_TIME "%li" |
| #define | MK_TIME ((MK_TIME_T)time(NULL)) |
| #define | MK_TIME_MAX (365*24*60*60) |
| one year | |
pointer data-type | |
| typedef void | MK_PTRB |
| pointer type data-type | |
| typedef MK_PTRB * | MK_PTR |
| generic pointer data-type | |
| typedef const MK_PTRB * | MK_PTRN |
| const generic pointer data-type | |
| typedef MK_PTRB * | MK_CCP |
| class constructor/destructor data type | |
| typedef MK_PTRB * | MK_CBP |
| generic pointer to call-back data | |
| typedef MK_PTRB * | MK_MNG |
| managed object pointer, datatype will be checked at runtime | |
| typedef const MK_PTRB * | MK_MNGN |
| const - a managed object pointer, datatype will be checked at runtime | |
| typedef MK_PTRB const * | MK_EXP |
| exception object pointer | |
| typedef MK_PTRB * | MK_MXP |
| MkExceptionC object pointer. | |
list data-type | |
| typedef unsigned char | MK_LSTB |
| list type data-type | |
| typedef MK_LSTB * | MK_LST |
| list pointer data-type | |
binary data-type | |
| typedef unsigned char | MK_BINB |
| byte-array type data-type | |
| typedef MK_BINB * | MK_BIN |
| byte-array pointer data-type with binary encoding (byte[]) | |
| typedef MK_BINB const * | MK_BINN |
| const byte-array pointer data-type | |
primitive string data-type | |
| typedef char | MK_STRB |
| string type data-type | |
| typedef MK_STRB * | MK_STR |
string pointer data-type with UTF8 ecoding (String) | |
| typedef const MK_STRB * | MK_STRN |
| constant string pointer data-type | |
| typedef MK_STRB const * | MK_FST |
| const format string pointer data-type | |
| MK_UNUSED static const MK_STRN_A | MK_STRN_A_NULL = (MK_STRN_A) {0,0} |
helper type for target language implementation | |
| typedef void * | MK_NAT_OBJECT |
| typedef void * | MK_NAT_LIST |
MkKernel PACKAGE - a collection of common used data types and definitions …
| #define bool2str | ( | _bool | ) |
Definition at line 1181 of file LibMkKernel_mk.h.
| #define MK_ALFA '@' |
MK_ALFA the command-line separator between server and client …
Definition at line 1164 of file LibMkKernel_mk.h.
| #define MK_ALFA_STR ((MkStringR){1,"@"}) |
MK_ALFA the command-line separator as string …
Definition at line 1166 of file LibMkKernel_mk.h.
| #define MK_FORMAT_N "%i" |
Definition at line 1293 of file LibMkKernel_mk.h.
| #define MK_FORMAT_TIME "%li" |
Definition at line 1369 of file LibMkKernel_mk.h.
| #define MK_HDL_REF_S1 | ( | __prefix | ) |
Definition at line 1267 of file LibMkKernel_mk.h.
| #define MK_HDL_REF_S3 | ( | __prefix | ) |
Definition at line 1266 of file LibMkKernel_mk.h.
| #define MK_HDLT MK_I32T |
Definition at line 1268 of file LibMkKernel_mk.h.
| #define MK_TIME ((MK_TIME_T)time(NULL)) |
Definition at line 1370 of file LibMkKernel_mk.h.
| #define MK_TIME_MAX (365*24*60*60) |
one year
Definition at line 1371 of file LibMkKernel_mk.h.
| typedef union MkBufferAtomU MK_ATO |
8 byte atom data-type
Definition at line 1287 of file LibMkKernel_mk.h.
byte-array pointer data-type with binary encoding (byte[])
Definition at line 1438 of file LibMkKernel_mk.h.
| typedef unsigned char MK_BINB |
byte-array type data-type
Definition at line 1434 of file LibMkKernel_mk.h.
const byte-array pointer data-type
Definition at line 1442 of file LibMkKernel_mk.h.
| typedef unsigned char MK_BOL |
1 byte boolean data-type
Definition at line 1175 of file LibMkKernel_mk.h.
| typedef bool MK_BOOL |
real bool data-type
Definition at line 1180 of file LibMkKernel_mk.h.
generic pointer to call-back data
Definition at line 1396 of file LibMkKernel_mk.h.
class constructor/destructor data type
Definition at line 1393 of file LibMkKernel_mk.h.
| typedef int MK_DBG |
debug-level data-type …
Definition at line 1297 of file LibMkKernel_mk.h.
| typedef double MK_DBL |
8 byte double data-type
Definition at line 1243 of file LibMkKernel_mk.h.
exception object pointer
Definition at line 1405 of file LibMkKernel_mk.h.
| typedef float MK_FLT |
4 byte float data-type
Definition at line 1240 of file LibMkKernel_mk.h.
const format string pointer data-type
Definition at line 1475 of file LibMkKernel_mk.h.
| typedef int32_t MK_HDL |
4 byte int handle data-type
The handle is a special type to represent an object as numeric-type able to be stored into an external-software.
The handle support the following API:
Definition at line 1265 of file LibMkKernel_mk.h.
| typedef signed short int MK_I16 |
2 byte short data-type
Definition at line 1195 of file LibMkKernel_mk.h.
| typedef signed int MK_I32 |
4 byte integer data-type
Definition at line 1198 of file LibMkKernel_mk.h.
| typedef signed long long MK_I64 |
8 byte wide integer data-type
Definition at line 1205 of file LibMkKernel_mk.h.
| typedef signed char MK_I8 |
1 byte byte data-type
Definition at line 1192 of file LibMkKernel_mk.h.
| typedef long MK_LONG |
4/8 byte long data-type
Definition at line 1210 of file LibMkKernel_mk.h.
list pointer data-type
Definition at line 1423 of file LibMkKernel_mk.h.
| typedef unsigned char MK_LSTB |
list type data-type
Definition at line 1419 of file LibMkKernel_mk.h.
managed object pointer, datatype will be checked at runtime
Definition at line 1399 of file LibMkKernel_mk.h.
const - a managed object pointer, datatype will be checked at runtime
Definition at line 1402 of file LibMkKernel_mk.h.
MkExceptionC object pointer.
Definition at line 1408 of file LibMkKernel_mk.h.
| typedef void* MK_NAT_LIST |
Definition at line 1486 of file LibMkKernel_mk.h.
| typedef void* MK_NAT_OBJECT |
Definition at line 1484 of file LibMkKernel_mk.h.
| typedef int32_t MK_NUM |
array size data-type ('num' items in array …
Definition at line 1292 of file LibMkKernel_mk.h.
generic pointer data-type
Definition at line 1387 of file LibMkKernel_mk.h.
| typedef void MK_PTRB |
pointer type data-type
Definition at line 1383 of file LibMkKernel_mk.h.
const generic pointer data-type
Definition at line 1390 of file LibMkKernel_mk.h.
| typedef unsigned int MK_SIG |
signature datatype
The MOT-class is identified by a signature and a mask.
The signature and the mask are an 32bit unsigned integer value of type MK_SIG.
The class-type is the storage for the signature and the mask
The instance-type is initialized by the class-type
instance.super.obj.signature.instance.super.obj.signature is the MkObjectS::signature attribute of the MkObjectS instance-type.The signature check is done at runtime with MyClassC_Check(instancePtr) (example: MkBufferC_Check).
true if the instance belongs to the class MyClassC or has MyClassC as base-class.To check an instance on the instance-type without instance-base use:
To check an instance on the instance-type and instance-base use:
Definition at line 1358 of file LibMkKernel_mk.h.
| typedef long MK_SIZE |
Definition at line 1284 of file LibMkKernel_mk.h.
string pointer data-type with UTF8 ecoding (String)
Definition at line 1457 of file LibMkKernel_mk.h.
| typedef char MK_STRB |
string type data-type
Definition at line 1453 of file LibMkKernel_mk.h.
constant string pointer data-type
Definition at line 1461 of file LibMkKernel_mk.h.
| typedef time_t MK_TIME_T |
Definition at line 1368 of file LibMkKernel_mk.h.
| typedef unsigned short MK_U16 |
Definition at line 1222 of file LibMkKernel_mk.h.
| typedef unsigned int MK_U32 |
Definition at line 1224 of file LibMkKernel_mk.h.
| typedef unsigned long long MK_U64 |
Definition at line 1226 of file LibMkKernel_mk.h.
| typedef unsigned char MK_U8 |
Definition at line 1220 of file LibMkKernel_mk.h.
| typedef unsigned long MK_ULN |
Definition at line 1230 of file LibMkKernel_mk.h.
prototype for a Garbage-Collection mark function …
Definition at line 2348 of file LibMkKernel_mk.h.
Definition at line 1471 of file LibMkKernel_mk.h.