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 py_mqmsgque_MqContextC_Create (OtClass_ARGS)
  Python: [constructor,static] MqContextC MqContextC.Create(?tmpl:MqContextC=None?) C-API
create and initialize the MqContextC ...
 
static OT_ProcRet py_mqmsgque_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

◆ py_mqmsgque_MqContextC_Create()

static OT_ProcRet py_mqmsgque_MqContextC_Create ( OtClass_ARGS )
static

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

Definition at line 3572 of file MqContextC_py.c.

3572 {
3574 OT_SETUP_VARARGS(0,1,Create_doc)
3575 MQ_CTX tmpl = NULL;
3576 OT_CHECK_OPTIONAL(OT_CHECK_CTX (tmpl,MK_NULL_YES))
3577 OT_CHECK_NOARGS
3578 MQ_CTX retVal = MqContextCreate (MqContextCTT, tmpl);
3579 if (retVal == NULL) {
3580 OT_ERROR_CONSTRUCTOR(MqContextC)
3581 goto error;
3582 }
3583 OT_CONSTRUCTOR_POST(retVal)
3584 OT_retObj_SET_CTX(retVal)
3585 goto end;
3586 error:
3587 OT_retObj_SET_Error
3588 end:
3590}
#define MqContextCTT
#define OT_SETUP_hdl_static_constr
#define Create_doc
#define OT_retObj_RETURN
#define error
#define MK_NULL_YES
#define MqContextCreate(...)
PUBLIC data structure for the pymqmsgque-specific-data

◆ py_mqmsgque_MqContextC_new()

static OT_ProcRet py_mqmsgque_MqContextC_new ( CONSTR_ARGS )
static

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

Definition at line 3593 of file MqContextC_py.c.

3593 {
3595 OT_SETUP_CONSTRUCTOR_ARGS(0,1,new_doc)
3596 MQ_CTX tmpl = NULL;
3597 OT_CHECK_OPTIONAL(OT_CHECK_CTX (tmpl,MK_NULL_YES))
3598 MQ_CTX retVal = MqContextCreate (MqContextCTT, tmpl);
3599 if (retVal == NULL) {
3600 OT_ERROR_CONSTRUCTOR(MqContextC)
3601 goto error;
3602 }
3603 OT_CONSTRUCTOR_POST(retVal)
3604 OT_retObj_CONSTR(retVal)
3605 goto end;
3606 error:
3607 OT_retObj_SET_Error
3608 end:
3610}
#define OT_retObj_CONSTR(mng)
#define OT_SETUP_hdl_constr
#define new_doc