theLink 10.0
Loading...
Searching...
No Matches
MqContextC_ReadApi_Misc_RB_API

MqContextC - various functions to work on a read-data-packageMore...

+ Collaboration diagram for MqContextC_ReadApi_Misc_RB_API:

Functions

static OT_ProcRet rbmqmsgque_MqContextC_ReadDbg (MqContextC_ARGS)
 internal function: MqReadDbg
 
static OT_ProcRet rbmqmsgque_MqContextC_ReadGetNextType (MqContextC_ARGS)
  Ruby: MkTypeE ctx.ReadGetNextType() C-API
get the type (MkTypeE) of the next Item in the read-data-buffer or "0" if not available
 
static OT_ProcRet rbmqmsgque_MqContextC_ReadGetNumItems (MqContextC_ARGS)
  Ruby: int32 ctx.ReadGetNumItems() C-API
get the number of items left in the read-data-package
 
static OT_ProcRet rbmqmsgque_MqContextC_ReadItemExists (MqContextC_ARGS)
  Ruby: bool ctx.ReadItemExists() C-API
check if an item exists in the read-data-package
 
static OT_ProcRet rbmqmsgque_MqContextC_ReadUndo (MqContextC_ARGS)
  Ruby: ctx.ReadUndo() C-API
undo the last MqContextC READ API function call …
 

Detailed Description

MqContextC - various functions to work on a read-data-package

Function Documentation

◆ rbmqmsgque_MqContextC_ReadDbg()

static OT_ProcRet rbmqmsgque_MqContextC_ReadDbg ( MqContextC_ARGS )
static

internal function: MqReadDbg

Definition at line 1895 of file MqContextC_rb.c.

1895 {
1899 MqReadDbg (hdl);
1901 end: MK_UNUSED /* LONG JUMP on error */
1903}
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_None
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define OT_SETUP_hdl
#define ReadDbg_doc
#define MK_UNUSED
#define MqReadDbg(...)

◆ rbmqmsgque_MqContextC_ReadGetNextType()

static OT_ProcRet rbmqmsgque_MqContextC_ReadGetNextType ( MqContextC_ARGS )
static

Ruby: MkTypeE ctx.ReadGetNextType() C-API
get the type (MkTypeE) of the next Item in the read-data-buffer or "0" if not available

Definition at line 1906 of file MqContextC_rb.c.

1906 {
1911 end: MK_UNUSED /* LONG JUMP on error */
1913}
#define OT_NEW_Mk_enum_OBJ(typ, i)
#define OT_retObj_SET(val)
#define ReadGetNextType_doc
enum MkTypeE MqReadGetNextType(MQ_CTX const ctx)
get the type (MkTypeE) of the next Item in the read-data-buffer or "0" if not available

◆ rbmqmsgque_MqContextC_ReadGetNumItems()

static OT_ProcRet rbmqmsgque_MqContextC_ReadGetNumItems ( MqContextC_ARGS )
static

Ruby: int32 ctx.ReadGetNumItems() C-API
get the number of items left in the read-data-package

Definition at line 1916 of file MqContextC_rb.c.

1916 {
1921 end: MK_UNUSED /* LONG JUMP on error */
1923}
#define OT_retObj_SET_I32(nat)
#define ReadGetNumItems_doc
MK_NUM MqReadGetNumItems(MQ_CTX const ctx)
get the number of items left in the read-data-package …

◆ rbmqmsgque_MqContextC_ReadItemExists()

static OT_ProcRet rbmqmsgque_MqContextC_ReadItemExists ( MqContextC_ARGS )
static

Ruby: bool ctx.ReadItemExists() C-API
check if an item exists in the read-data-package

Definition at line 1926 of file MqContextC_rb.c.

1926 {
1931 end: MK_UNUSED /* LONG JUMP on error */
1933}
#define OT_retObj_SET_BOL(nat)
#define ReadItemExists_doc
bool MqReadItemExists(MQ_CTX const ctx)
check if an item exists in the read-data-package …

◆ rbmqmsgque_MqContextC_ReadUndo()

static OT_ProcRet rbmqmsgque_MqContextC_ReadUndo ( MqContextC_ARGS )
static

Ruby: ctx.ReadUndo() C-API
undo the last MqContextC READ API function call …

Definition at line 1936 of file MqContextC_rb.c.

1936 {
1940 MkErrorC_Check(hdl,MqReadUndo (hdl));
1942 end: MK_UNUSED /* LONG JUMP on error */
1944}
#define MkErrorC_Check(mng, PROC)
#define ReadUndo_doc
#define MqReadUndo(...)