theLink 10.0
Loading...
Searching...
No Matches
MqContextC_TOR_PY_API

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

+ Collaboration diagram for MqContextC_TOR_PY_API:

Functions

static OT_ProcRet pymqmsgque_MqContextC_Create (OtClass_ARGS)
  Python: [constructor,static] MqContextC MqContextC.Create(?tmpl:MqContextC=None?) C-API
create and initialize the MqContextC ...
 
static OT_ProcRet pymqmsgque_MqContextC_new (CONSTR_ARGS)
  Python: [constructor,static] MqContextC MqContextC.new(?tmpl:MqContextC=None?) C-API
create and initialize the MqContextC ...
 

Detailed Description

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

Function Documentation

◆ pymqmsgque_MqContextC_Create()

static OT_ProcRet pymqmsgque_MqContextC_Create ( OtClass_ARGS )
static

Python: [constructor,static] MqContextC MqContextC.Create(?tmpl:MqContextC=None?) C-API
create and initialize the MqContextC ...

Definition at line 3547 of file MqContextC_py.c.

3547 {
3550 MQ_CTX tmpl = NULL;
3553 MQ_CTX retVal = MqContextCreate (MqContextCTT, tmpl);
3554 if (retVal == NULL) {
3555 OT_ERROR_CONSTRUCTOR(MqContextC);
3556 goto error;
3557 }
3558 OT_CONSTRUCTOR_POST(retVal)
3559 OT_retObj_SET_CTX(retVal);
3560 goto end;
3561 error:
3563 end:
3565}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_retObj_SET_Error
#define OT_CONSTRUCTOR_POST(x)
#define OT_ERROR_CONSTRUCTOR(class)
#define OT_retObj_RETURN
#define OT_CHECK_OPTIONAL(val)
#define OT_CHECK_NOARGS
#define OT_retObj_SET_CTX(nat)
#define MqContextCTT
#define OT_SETUP_hdl_static_constr
#define Create_doc
#define error
Definition high_lng.h:339
#define MK_NULL_YES
#define MqContextCreate(...)
#define OT_CHECK_CTX(val, nullB)
PUBLIC data structure for the pymqmsgque-specific-data

◆ pymqmsgque_MqContextC_new()

static OT_ProcRet pymqmsgque_MqContextC_new ( CONSTR_ARGS )
static

Python: [constructor,static] MqContextC MqContextC.new(?tmpl:MqContextC=None?) C-API
create and initialize the MqContextC ...

Definition at line 3568 of file MqContextC_py.c.

3568 {
3571 MQ_CTX tmpl = NULL;
3573 MQ_CTX retVal = MqContextCreate (MqContextCTT, tmpl);
3574 if (retVal == NULL) {
3575 OT_ERROR_CONSTRUCTOR(MqContextC);
3576 goto error;
3577 }
3578 OT_CONSTRUCTOR_POST(retVal)
3579 OT_retObj_CONSTR(retVal);
3580 goto end;
3581 error:
3583 end:
3585}
#define OT_SETUP_CONSTRUCTOR_ARGS(...)
#define OT_retObj_CONSTR(mng)
#define OT_SETUP_hdl_constr
#define new_doc