MqContextC - read a single-data-item outof a read-data-package … More...
Functions | |
MQ_EXTERN enum MkErrorE | MqReadI8_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_I8 *const val_out) |
read a PRIMITIVE TYPE from the read-data-package … | |
MQ_EXTERN enum MkErrorE | MqReadBOL_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_BOL *const val_out) |
read a PRIMITIVE TYPE from the read-data-package … | |
MQ_EXTERN enum MkErrorE | MqReadI16_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_I16 *const val_out) |
read a PRIMITIVE TYPE from the read-data-package … | |
MQ_EXTERN enum MkErrorE | MqReadI32_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_I32 *const val_out) |
read a PRIMITIVE TYPE from the read-data-package … | |
MQ_EXTERN enum MkErrorE | MqReadFLT_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_FLT *const val_out) |
read a PRIMITIVE TYPE from the read-data-package … | |
MQ_EXTERN enum MkErrorE | MqReadI64_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_I64 *const val_out) |
read a PRIMITIVE TYPE from the read-data-package … | |
MQ_EXTERN enum MkErrorE | MqReadDBL_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_DBL *const val_out) |
read a PRIMITIVE TYPE from the read-data-package … | |
MQ_EXTERN enum MkErrorE | MqReadBUF_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_BUF *const val_out) |
get a temporary MkBufferC from the read-data-package … | |
MQ_EXTERN enum MkErrorE | MqReadBFL_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_BFL *const val_out) |
get a temporary MkBufferListC from next list-item in the read-data-package … | |
MQ_EXTERN enum MkErrorE | MqReadALL_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_BFL *const val_inout) |
get a temporary MkBufferListC from all data in the read-data-package … | |
MQ_EXTERN enum MkErrorE | MqReadLIST_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_NAT_LIST *const val_out) |
get all arguments as native list … | |
MQ_EXTERN enum MkErrorE | MqReadNEXT_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_NAT_OBJECT *const val_out) |
get the next argument as native object … | |
MQ_EXTERN enum MkErrorE | MqReadLONG_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_LONG *const val_out) |
read the long native object from the read-data-package | |
MQ_EXTERN enum MkErrorE | MqReadHDL_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_HDL *const val_out) |
read the handle from the read-data-package | |
MQ_EXTERN enum MkErrorE | MqReadSTR_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_STRN *const val_out) |
read a PRIMITIVE TYPE from the read-data-package … | |
MQ_EXTERN enum MkErrorE | MqReadBIN_RT (MK_RT const mkrt, MQ_CTX const ctx, MkBinaryR *const val_out) |
generic function to read an MK_BIN object from the read-data-package object … | |
MQ_EXTERN enum MkErrorE | MqReadStringR_RT (MK_RT const mkrt, MQ_CTX const ctx, MkStringR *const val_out) |
read a MkStringR from the read-data-package … | |
MQ_EXTERN enum MkErrorE | MqReadBinaryR_RT (MK_RT const mkrt, MQ_CTX const ctx, MkBinaryR *const val_out) |
read a MkBinaryR from the read-data-package … | |
MqContextC - MqContextC_ReadApi_Atom_C_API - overload | |
#define | MqReadALL_NULL(...) |
#define | MqReadALL(...) |
#define | MqReadALL_E(...) |
#define | MqReadALL_C(...) |
#define | MqReadALL_e(...) |
#define | MqReadBFL_NULL(...) |
#define | MqReadBFL(...) |
#define | MqReadBFL_E(...) |
#define | MqReadBFL_C(...) |
#define | MqReadBFL_e(...) |
#define | MqReadBUF_NULL(...) |
#define | MqReadBUF(...) |
#define | MqReadBUF_E(...) |
#define | MqReadBUF_C(...) |
#define | MqReadBUF_e(...) |
#define | MqReadBIN_NULL(...) |
#define | MqReadBIN(...) |
#define | MqReadBIN_E(...) |
#define | MqReadBIN_C(...) |
#define | MqReadBIN_e(...) |
#define | MqReadBOL_NULL(...) |
#define | MqReadBOL(...) |
#define | MqReadBOL_E(...) |
#define | MqReadBOL_C(...) |
#define | MqReadBOL_e(...) |
#define | MqReadBinaryR_NULL(...) |
#define | MqReadBinaryR(...) |
#define | MqReadBinaryR_E(...) |
#define | MqReadBinaryR_C(...) |
#define | MqReadBinaryR_e(...) |
#define | MqReadDBL_NULL(...) |
#define | MqReadDBL(...) |
#define | MqReadDBL_E(...) |
#define | MqReadDBL_C(...) |
#define | MqReadDBL_e(...) |
#define | MqReadFLT_NULL(...) |
#define | MqReadFLT(...) |
#define | MqReadFLT_E(...) |
#define | MqReadFLT_C(...) |
#define | MqReadFLT_e(...) |
#define | MqReadHDL_NULL(...) |
#define | MqReadHDL(...) |
#define | MqReadHDL_E(...) |
#define | MqReadHDL_C(...) |
#define | MqReadHDL_e(...) |
#define | MqReadI16_NULL(...) |
#define | MqReadI16(...) |
#define | MqReadI16_E(...) |
#define | MqReadI16_C(...) |
#define | MqReadI16_e(...) |
#define | MqReadI32_NULL(...) |
#define | MqReadI32(...) |
#define | MqReadI32_E(...) |
#define | MqReadI32_C(...) |
#define | MqReadI32_e(...) |
#define | MqReadI64_NULL(...) |
#define | MqReadI64(...) |
#define | MqReadI64_E(...) |
#define | MqReadI64_C(...) |
#define | MqReadI64_e(...) |
#define | MqReadI8_NULL(...) |
#define | MqReadI8(...) |
#define | MqReadI8_E(...) |
#define | MqReadI8_C(...) |
#define | MqReadI8_e(...) |
#define | MqReadLIST_NULL(...) |
#define | MqReadLIST(...) |
#define | MqReadLIST_E(...) |
#define | MqReadLIST_C(...) |
#define | MqReadLIST_e(...) |
#define | MqReadLONG_NULL(...) |
#define | MqReadLONG(...) |
#define | MqReadLONG_E(...) |
#define | MqReadLONG_C(...) |
#define | MqReadLONG_e(...) |
#define | MqReadNEXT_NULL(...) |
#define | MqReadNEXT(...) |
#define | MqReadNEXT_E(...) |
#define | MqReadNEXT_C(...) |
#define | MqReadNEXT_e(...) |
#define | MqReadSTR_NULL(...) |
#define | MqReadSTR(...) |
#define | MqReadSTR_E(...) |
#define | MqReadSTR_C(...) |
#define | MqReadSTR_e(...) |
#define | MqReadStringR_NULL(...) |
#define | MqReadStringR(...) |
#define | MqReadStringR_E(...) |
#define | MqReadStringR_C(...) |
#define | MqReadStringR_e(...) |
MqContextC - read a single-data-item outof a read-data-package …
#define MqReadALL | ( | ... | ) |
Definition at line 358 of file msgque_overload_mq.h.
#define MqReadALL_C | ( | ... | ) |
Definition at line 360 of file msgque_overload_mq.h.
#define MqReadALL_E | ( | ... | ) |
Definition at line 359 of file msgque_overload_mq.h.
#define MqReadALL_e | ( | ... | ) |
Definition at line 361 of file msgque_overload_mq.h.
#define MqReadALL_NULL | ( | ... | ) |
Definition at line 357 of file msgque_overload_mq.h.
#define MqReadBFL | ( | ... | ) |
Definition at line 365 of file msgque_overload_mq.h.
#define MqReadBFL_C | ( | ... | ) |
Definition at line 367 of file msgque_overload_mq.h.
#define MqReadBFL_E | ( | ... | ) |
Definition at line 366 of file msgque_overload_mq.h.
#define MqReadBFL_e | ( | ... | ) |
Definition at line 368 of file msgque_overload_mq.h.
#define MqReadBFL_NULL | ( | ... | ) |
Definition at line 364 of file msgque_overload_mq.h.
#define MqReadBIN | ( | ... | ) |
Definition at line 377 of file msgque_overload_mq.h.
#define MqReadBIN_C | ( | ... | ) |
Definition at line 379 of file msgque_overload_mq.h.
#define MqReadBIN_E | ( | ... | ) |
Definition at line 378 of file msgque_overload_mq.h.
#define MqReadBIN_e | ( | ... | ) |
Definition at line 380 of file msgque_overload_mq.h.
#define MqReadBIN_NULL | ( | ... | ) |
Definition at line 376 of file msgque_overload_mq.h.
#define MqReadBinaryR | ( | ... | ) |
Definition at line 387 of file msgque_overload_mq.h.
#define MqReadBinaryR_C | ( | ... | ) |
Definition at line 389 of file msgque_overload_mq.h.
#define MqReadBinaryR_E | ( | ... | ) |
Definition at line 388 of file msgque_overload_mq.h.
#define MqReadBinaryR_e | ( | ... | ) |
Definition at line 390 of file msgque_overload_mq.h.
#define MqReadBinaryR_NULL | ( | ... | ) |
Definition at line 386 of file msgque_overload_mq.h.
#define MqReadBOL | ( | ... | ) |
Definition at line 382 of file msgque_overload_mq.h.
#define MqReadBOL_C | ( | ... | ) |
Definition at line 384 of file msgque_overload_mq.h.
#define MqReadBOL_E | ( | ... | ) |
Definition at line 383 of file msgque_overload_mq.h.
#define MqReadBOL_e | ( | ... | ) |
Definition at line 385 of file msgque_overload_mq.h.
#define MqReadBOL_NULL | ( | ... | ) |
Definition at line 381 of file msgque_overload_mq.h.
#define MqReadBUF | ( | ... | ) |
Definition at line 370 of file msgque_overload_mq.h.
#define MqReadBUF_C | ( | ... | ) |
Definition at line 372 of file msgque_overload_mq.h.
#define MqReadBUF_E | ( | ... | ) |
Definition at line 371 of file msgque_overload_mq.h.
#define MqReadBUF_e | ( | ... | ) |
Definition at line 373 of file msgque_overload_mq.h.
#define MqReadBUF_NULL | ( | ... | ) |
Definition at line 369 of file msgque_overload_mq.h.
#define MqReadDBL | ( | ... | ) |
Definition at line 392 of file msgque_overload_mq.h.
#define MqReadDBL_C | ( | ... | ) |
Definition at line 394 of file msgque_overload_mq.h.
#define MqReadDBL_E | ( | ... | ) |
Definition at line 393 of file msgque_overload_mq.h.
#define MqReadDBL_e | ( | ... | ) |
Definition at line 395 of file msgque_overload_mq.h.
#define MqReadDBL_NULL | ( | ... | ) |
Definition at line 391 of file msgque_overload_mq.h.
#define MqReadFLT | ( | ... | ) |
Definition at line 397 of file msgque_overload_mq.h.
#define MqReadFLT_C | ( | ... | ) |
Definition at line 399 of file msgque_overload_mq.h.
#define MqReadFLT_E | ( | ... | ) |
Definition at line 398 of file msgque_overload_mq.h.
#define MqReadFLT_e | ( | ... | ) |
Definition at line 400 of file msgque_overload_mq.h.
#define MqReadFLT_NULL | ( | ... | ) |
Definition at line 396 of file msgque_overload_mq.h.
#define MqReadHDL | ( | ... | ) |
Definition at line 402 of file msgque_overload_mq.h.
#define MqReadHDL_C | ( | ... | ) |
Definition at line 404 of file msgque_overload_mq.h.
#define MqReadHDL_E | ( | ... | ) |
Definition at line 403 of file msgque_overload_mq.h.
#define MqReadHDL_e | ( | ... | ) |
Definition at line 405 of file msgque_overload_mq.h.
#define MqReadHDL_NULL | ( | ... | ) |
Definition at line 401 of file msgque_overload_mq.h.
#define MqReadI16 | ( | ... | ) |
Definition at line 407 of file msgque_overload_mq.h.
#define MqReadI16_C | ( | ... | ) |
Definition at line 409 of file msgque_overload_mq.h.
#define MqReadI16_E | ( | ... | ) |
Definition at line 408 of file msgque_overload_mq.h.
#define MqReadI16_e | ( | ... | ) |
Definition at line 410 of file msgque_overload_mq.h.
#define MqReadI16_NULL | ( | ... | ) |
Definition at line 406 of file msgque_overload_mq.h.
#define MqReadI32 | ( | ... | ) |
Definition at line 412 of file msgque_overload_mq.h.
#define MqReadI32_C | ( | ... | ) |
Definition at line 414 of file msgque_overload_mq.h.
#define MqReadI32_E | ( | ... | ) |
Definition at line 413 of file msgque_overload_mq.h.
#define MqReadI32_e | ( | ... | ) |
Definition at line 415 of file msgque_overload_mq.h.
#define MqReadI32_NULL | ( | ... | ) |
Definition at line 411 of file msgque_overload_mq.h.
#define MqReadI64 | ( | ... | ) |
Definition at line 417 of file msgque_overload_mq.h.
#define MqReadI64_C | ( | ... | ) |
Definition at line 419 of file msgque_overload_mq.h.
#define MqReadI64_E | ( | ... | ) |
Definition at line 418 of file msgque_overload_mq.h.
#define MqReadI64_e | ( | ... | ) |
Definition at line 420 of file msgque_overload_mq.h.
#define MqReadI64_NULL | ( | ... | ) |
Definition at line 416 of file msgque_overload_mq.h.
#define MqReadI8 | ( | ... | ) |
Definition at line 422 of file msgque_overload_mq.h.
#define MqReadI8_C | ( | ... | ) |
Definition at line 424 of file msgque_overload_mq.h.
#define MqReadI8_E | ( | ... | ) |
Definition at line 423 of file msgque_overload_mq.h.
#define MqReadI8_e | ( | ... | ) |
Definition at line 425 of file msgque_overload_mq.h.
#define MqReadI8_NULL | ( | ... | ) |
Definition at line 421 of file msgque_overload_mq.h.
#define MqReadLIST | ( | ... | ) |
Definition at line 427 of file msgque_overload_mq.h.
#define MqReadLIST_C | ( | ... | ) |
Definition at line 429 of file msgque_overload_mq.h.
#define MqReadLIST_E | ( | ... | ) |
Definition at line 428 of file msgque_overload_mq.h.
#define MqReadLIST_e | ( | ... | ) |
Definition at line 430 of file msgque_overload_mq.h.
#define MqReadLIST_NULL | ( | ... | ) |
Definition at line 426 of file msgque_overload_mq.h.
#define MqReadLONG | ( | ... | ) |
Definition at line 432 of file msgque_overload_mq.h.
#define MqReadLONG_C | ( | ... | ) |
Definition at line 434 of file msgque_overload_mq.h.
#define MqReadLONG_E | ( | ... | ) |
Definition at line 433 of file msgque_overload_mq.h.
#define MqReadLONG_e | ( | ... | ) |
Definition at line 435 of file msgque_overload_mq.h.
#define MqReadLONG_NULL | ( | ... | ) |
Definition at line 431 of file msgque_overload_mq.h.
#define MqReadNEXT | ( | ... | ) |
Definition at line 437 of file msgque_overload_mq.h.
#define MqReadNEXT_C | ( | ... | ) |
Definition at line 439 of file msgque_overload_mq.h.
#define MqReadNEXT_E | ( | ... | ) |
Definition at line 438 of file msgque_overload_mq.h.
#define MqReadNEXT_e | ( | ... | ) |
Definition at line 440 of file msgque_overload_mq.h.
#define MqReadNEXT_NULL | ( | ... | ) |
Definition at line 436 of file msgque_overload_mq.h.
#define MqReadSTR | ( | ... | ) |
Definition at line 442 of file msgque_overload_mq.h.
#define MqReadSTR_C | ( | ... | ) |
Definition at line 444 of file msgque_overload_mq.h.
#define MqReadSTR_E | ( | ... | ) |
Definition at line 443 of file msgque_overload_mq.h.
#define MqReadSTR_e | ( | ... | ) |
Definition at line 445 of file msgque_overload_mq.h.
#define MqReadSTR_NULL | ( | ... | ) |
Definition at line 441 of file msgque_overload_mq.h.
#define MqReadStringR | ( | ... | ) |
Definition at line 447 of file msgque_overload_mq.h.
#define MqReadStringR_C | ( | ... | ) |
Definition at line 449 of file msgque_overload_mq.h.
#define MqReadStringR_E | ( | ... | ) |
Definition at line 448 of file msgque_overload_mq.h.
#define MqReadStringR_e | ( | ... | ) |
Definition at line 450 of file msgque_overload_mq.h.
#define MqReadStringR_NULL | ( | ... | ) |
Definition at line 446 of file msgque_overload_mq.h.
MQ_EXTERN enum MkErrorE MqReadALL_RT | ( | MK_RT const | mkrt, |
MQ_CTX const | ctx, | ||
MK_BFL *const | val_inout ) |
get a temporary MkBufferListC from all data in the read-data-package …
If the val_inout is None
than a temporary MkBufferListC is returned. If the val_inout is not None
than the memory of the val_inout is reused.
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[out] | val_inout | the MkBufferListC - the storage of the input is reused |
MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
None
for a non-error result.get a temporary MkBufferListC from next list-item in the read-data-package …
If the next item in the read-data-package is a list-item, (created with MqReadL_START and ctx.ReadL_END()
), only return this item. If the next item in the read-data-package is not a list-item than return an error. If you require all data in the read-data-package returned as single MkBufferListC than use MqReadALL.
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[out] | val_out | the MkBufferListC as return-value |
MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
None
for a non-error result.MQ_EXTERN enum MkErrorE MqReadBIN_RT | ( | MK_RT const | mkrt, |
MQ_CTX const | ctx, | ||
MkBinaryR *const | val_out ) |
generic function to read an MK_BIN object from the read-data-package object …
The object returned is owned by the read-data-package and is only valid up to the next call of any MqContextC READ API function. If a long-term object is required the string have-to-be duplicated.
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[out] | val_out | the MkBinaryR data to return |
MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
Source and destination overlap in memcpy
error.MQ_EXTERN enum MkErrorE MqReadBinaryR_RT | ( | MK_RT const | mkrt, |
MQ_CTX const | ctx, | ||
MkBinaryR *const | val_out ) |
read a MkBinaryR from the read-data-package …
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[out] | val_out | the MkBinaryR to return |
MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
read a PRIMITIVE TYPE from the read-data-package …
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[out] | val_out | the value to read |
MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
get a temporary MkBufferC from the read-data-package …
Return a temporary-data-item from the read-data-package. The lifetime of the MkBufferC is only the current callback up to the next read operation in the same parent-context. This object is owned by PythonMqMsgque and must not be freed.
Example from server.py
→ read and update a MkBufferC
# ReadBUF - Example, read a buffer-object and append a string buf = self.ReadBUF() buf.AppendSTR("- a really log text to overwrite the already allocated space") self.SendBUF(buf) self.SendI32(self.ReadI32()+1)
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[out] | val_out | The out-value of type MkBufferC. 1) It is an error if the out-value is None , 2. If there is an error, the out-value remains unchanged. |
MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
None
None
for a non-error result.read a PRIMITIVE TYPE from the read-data-package …
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[out] | val_out | the value to read |
MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
read a PRIMITIVE TYPE from the read-data-package …
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[out] | val_out | the value to read |
MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
read the handle from the read-data-package
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[out] | val_out | the handle-object to read |
MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
read a PRIMITIVE TYPE from the read-data-package …
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[out] | val_out | the value to read |
MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
read a PRIMITIVE TYPE from the read-data-package …
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[out] | val_out | the value to read |
MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
read a PRIMITIVE TYPE from the read-data-package …
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[out] | val_out | the value to read |
MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
read a PRIMITIVE TYPE from the read-data-package …
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[out] | val_out | the value to read |
MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
MQ_EXTERN enum MkErrorE MqReadLIST_RT | ( | MK_RT const | mkrt, |
MQ_CTX const | ctx, | ||
MK_NAT_LIST *const | val_out ) |
get all arguments as native list …
The MqReadLIST is a function what interacts with the Target-Programming-Language (TPL) list-object.
There is no guarantee that a list-object will be available. Therefore, this function is an add-on and will only be implemented when possible.
Example from example/tcl/server.tcl
→ start a WORKER using all arguments from the service-call.
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[out] | val_out | the native list as return |
MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
MQ_EXTERN enum MkErrorE MqReadLONG_RT | ( | MK_RT const | mkrt, |
MQ_CTX const | ctx, | ||
MK_LONG *const | val_out ) |
read the long native object from the read-data-package
on 64bit use a MqReadI64 and on 32bit use a MqReadI32
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[out] | val_out | the native long object to read |
MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
MQ_EXTERN enum MkErrorE MqReadNEXT_RT | ( | MK_RT const | mkrt, |
MQ_CTX const | ctx, | ||
MK_NAT_OBJECT *const | val_out ) |
get the next argument as native object …
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[out] | val_out | the native object as return |
MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
read a PRIMITIVE TYPE from the read-data-package …
The object returned is owned by the read-data-package and is only valid up to the next call of any MqContextC READ API function. If a long-term object is required the string have-to-be duplicated.
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[out] | val_out | the string to return |
MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
MQ_EXTERN enum MkErrorE MqReadStringR_RT | ( | MK_RT const | mkrt, |
MQ_CTX const | ctx, | ||
MkStringR *const | val_out ) |
read a MkStringR from the read-data-package …
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[out] | val_out | the MkStringR to return |
MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |