theLink 10.0
Loading...
Searching...
No Matches
MqContextC_TOR_RB_API

MqContextC - various functions to create, initialize and destroy a contextMore...

+ Collaboration diagram for MqContextC_TOR_RB_API:

Functions

static OT_ProcRet rbmqmsgque_MqContextC_Create (OtClass_ARGS)
  Ruby: (constructor,static) MqContextC MqContextC.Create(?tmpl:MqContextC=nil?) C-API
create and initialize the MqContextC ...
 
static OT_ProcRet rbmqmsgque_MqContextC_new (CONSTR_ARGS)
  Ruby: (constructor,static) MqContextC MqContextC.new(?tmpl:MqContextC=nil?) C-API
create and initialize the MqContextC ...
 

Detailed Description

MqContextC - various functions to create, initialize and destroy a context

Function Documentation

◆ rbmqmsgque_MqContextC_Create()

static OT_ProcRet rbmqmsgque_MqContextC_Create ( OtClass_ARGS )
static

Ruby: (constructor,static) MqContextC MqContextC.Create(?tmpl:MqContextC=nil?) C-API
create and initialize the MqContextC ...

Definition at line 2954 of file MqContextC_rb.c.

2954 {
2957 MQ_CTX tmpl = NULL;
2960 MQ_CTX retVal = MqContextCreate (MqContextCTT, tmpl);
2961 if (retVal == NULL) {
2962 OT_ERROR_CONSTRUCTOR(MqContextC);
2963 }
2964 OT_CONSTRUCTOR_POST(retVal)
2965 OT_retObj_SET_CTX(retVal);
2966 end: MK_UNUSED /* LONG JUMP on error */
2968}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_CONSTRUCTOR_POST(x)
#define OT_retObj_RETURN
#define OT_ERROR_CONSTRUCTOR(clazz)
#define OT_CHECK_OPTIONAL(val)
#define OT_CHECK_NOARGS
#define OT_retObj_SET_CTX(nat)
#define OT_SETUP_hdl_static_constr
static MK_TYP MqContextCTT
#define Create_doc
#define MK_NULL_YES
#define MK_UNUSED
#define MqContextCreate(...)
#define OT_CHECK_CTX(val, nullB)
PUBLIC data structure for the rbmqmsgque-specific-data

◆ rbmqmsgque_MqContextC_new()

static OT_ProcRet rbmqmsgque_MqContextC_new ( CONSTR_ARGS )
static

Ruby: (constructor,static) MqContextC MqContextC.new(?tmpl:MqContextC=nil?) C-API
create and initialize the MqContextC ...

Definition at line 2971 of file MqContextC_rb.c.

2971 {
2974 MQ_CTX tmpl = NULL;
2976 MQ_CTX retVal = MqContextCreate (MqContextCTT, tmpl);
2977 if (retVal == NULL) {
2978 OT_ERROR_CONSTRUCTOR(MqContextC);
2979 }
2980 OT_CONSTRUCTOR_POST(retVal)
2981 OT_retObj_CONSTR(retVal);
2982 end: MK_UNUSED /* LONG JUMP on error */
2984}
#define OT_retObj_CONSTR(mng)
#define OT_SETUP_CONSTRUCTOR_ARGS(min, max, d)
#define OT_SETUP_hdl_constr
#define new_doc