theLink 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard - theLib
c - tcl - atl - cs - py - rb - jv - cc
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 3550 of file MqContextC_py.c.

3550 {
3553 MQ_CTX tmpl = NULL;
3556 MQ_CTX retVal = MqContextCreate (MqContextCTT, tmpl);
3557 if (retVal == NULL) {
3558 OT_ERROR_CONSTRUCTOR(MqContextC);
3559 goto error;
3560 }
3561 OT_CONSTRUCTOR_POST(retVal)
3562 OT_retObj_SET_CTX(retVal);
3563 goto end;
3564 error:
3566 end:
3568}
#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:342
#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 3571 of file MqContextC_py.c.

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