theLink 10.0
Loading...
Searching...
No Matches
MqContextC_Class_RB_API

MqContextC - define the class … More...

+ Collaboration diagram for MqContextC_Class_RB_API:

Functions

static OT_ProcRet rbmqmsgque_MqContextC_HandleResolve (OtClass_ARGS)
  Ruby: (static) MqContextC MqContextC.HandleResolve(netHdl:MK_HDL) C-API
Handle-Resolve-Slot - return a MqContextC from netHdl or nil if invalid…
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet rbmqmsgque_MqContextC_HandleGet (MqContextC_ARGS)
 
static OT_ProcRet rbmqmsgque_MqContextC_Next (MqContextC_ARGS)
  Ruby: MqContextC ctx.Next() C-API
get next instance from linked-list of MqContextS type
 
static OT_ProcRet rbmqmsgque_MqContextC_Prev (MqContextC_ARGS)
  Ruby: MqContextC ctx.Prev() C-API
get previous instance from linked-list of MqContextS type
 
static OT_ProcRet rbmqmsgque_MqContextC_Instances (OtClass_ARGS)
  Ruby: (static) MqContextC MqContextC.Instances() C-API
get head-instance from linked-list of MqContextS type …
 
static OT_ProcRet rbmqmsgque_MqContextC_GetNull (OtClass_ARGS)
  Ruby: (static) MqContextC MqContextC.GetNull() C-API
Null-Slot - return a MqContextC typed NULL instance …
 

Detailed Description

MqContextC - define the class …

Function Documentation

◆ rbmqmsgque_MqContextC_GetNull()

static OT_ProcRet rbmqmsgque_MqContextC_GetNull ( OtClass_ARGS )
static

Ruby: (static) MqContextC MqContextC.GetNull() C-API
Null-Slot - return a MqContextC typed NULL instance …

Definition at line 459 of file MqContextC_rb.c.

459 {
463 MQ_CTX retVal = MqContextGetNull ();
464 OT_retObj_SET_CTX(retVal);
465 end: MK_UNUSED /* LONG JUMP on error */
467}
#define OT_SETUP_NOARG(d)
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define OT_retObj_SET_CTX(nat)
#define GetNull_doc
#define OT_SETUP_hdl_static
#define MK_UNUSED
static MQ_CTX MqContextGetNull(void)
Null-Slot - return a MqContextC typed NULL instance …
PUBLIC data structure for the rbmqmsgque-specific-data

◆ rbmqmsgque_MqContextC_HandleGet()

MK_DEPRECATED static MK_UNUSED OT_ProcRet rbmqmsgque_MqContextC_HandleGet ( MqContextC_ARGS )
static

Definition at line 403 of file MqContextC_rb.c.

#define OT_ERROR_LNG_RETURN

◆ rbmqmsgque_MqContextC_HandleResolve()

static OT_ProcRet rbmqmsgque_MqContextC_HandleResolve ( OtClass_ARGS )
static

Ruby: (static) MqContextC MqContextC.HandleResolve(netHdl:MK_HDL) C-API
Handle-Resolve-Slot - return a MqContextC from netHdl or nil if invalid…

Definition at line 387 of file MqContextC_rb.c.

387 {
390 MK_HDL netHdl = 0;
393 MQ_CTX retVal = MqContextHandleResolve (netHdl);
394 OT_retObj_SET_CTX(retVal);
395 end: MK_UNUSED /* LONG JUMP on error */
397}
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_REQUIRED(val)
#define HandleResolve_doc
int32_t MK_HDL
#define MqContextHandleResolve(...)
#define OT_CHECK_NIH(val)

◆ rbmqmsgque_MqContextC_Instances()

static OT_ProcRet rbmqmsgque_MqContextC_Instances ( OtClass_ARGS )
static

Ruby: (static) MqContextC MqContextC.Instances() C-API
get head-instance from linked-list of MqContextS type …

Definition at line 439 of file MqContextC_rb.c.

439 {
443 MQ_CTX retVal = MqContextInstances ();
444 OT_retObj_SET_CTX(retVal);
445 end: MK_UNUSED /* LONG JUMP on error */
447}
#define Instances_doc
#define MqContextInstances()

◆ rbmqmsgque_MqContextC_Next()

static OT_ProcRet rbmqmsgque_MqContextC_Next ( MqContextC_ARGS )
static

Ruby: MqContextC ctx.Next() C-API
get next instance from linked-list of MqContextS type

Definition at line 415 of file MqContextC_rb.c.

415 {
419 MQ_CTX retVal = MqContextNext (hdl);
420 OT_retObj_SET_CTX(retVal);
421 end: MK_UNUSED /* LONG JUMP on error */
423}
#define OT_SETUP_hdl
#define Next_doc
static MQ_CTX MqContextNext(MQ_CTX const ctx)
get next instance from linked-list of MqContextS type

◆ rbmqmsgque_MqContextC_Prev()

static OT_ProcRet rbmqmsgque_MqContextC_Prev ( MqContextC_ARGS )
static

Ruby: MqContextC ctx.Prev() C-API
get previous instance from linked-list of MqContextS type

Definition at line 426 of file MqContextC_rb.c.

426 {
430 MQ_CTX retVal = MqContextPrev (hdl);
431 OT_retObj_SET_CTX(retVal);
432 end: MK_UNUSED /* LONG JUMP on error */
434}
#define Prev_doc
static MQ_CTX MqContextPrev(MQ_CTX const ctx)
get previous instance from linked-list of MqContextS type