theLink 10.0
Loading...
Searching...
No Matches
MqContextC_TOR_TCL_API

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

+ Collaboration diagram for MqContextC_TOR_TCL_API:

Functions

static OT_ProcRet tclmqmsgque_MqContextC_CTOR (CONSTR_ARGS)
  Tcl: (constructor,static) MqContextC [MqContextC CTOR ?tmpl:MqContextC="MK_NULL"?] C-API
create and initialize the MqContextC ...
 
static OT_ProcRet tclmqmsgque_MqContextC_Create (OtClass_ARGS)
  Tcl: (constructor,static) MqContextC [MqContextC Create ?tmpl:MqContextC="MK_NULL"?] C-API
create and initialize the MqContextC ...
 

Detailed Description

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

Function Documentation

◆ tclmqmsgque_MqContextC_Create()

static OT_ProcRet tclmqmsgque_MqContextC_Create ( OtClass_ARGS )
static

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

Definition at line 3620 of file MqContextC_tcl.c.

3620 {
3623 MQ_CTX tmpl = NULL;
3626 MQ_CTX retVal = MqContextCreate (MqContextCTT, tmpl);
3627 if (retVal == NULL) {
3628 OT_ERROR_CONSTRUCTOR(MqContextC);
3629 goto error;
3630 }
3631 OT_CONSTRUCTOR_POST(retVal)
3632 OT_retObj_SET_CTX(retVal);
3633 goto end;
3634 error:
3636 end:
3638}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_retObj_SET_Error
#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 OT_SETUP_hdl_static_constr
#define OT_CONSTRUCTOR_POST(x)
static __thread MK_TYP MqContextCTT
#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 tclmqmsgque-specific-data

◆ tclmqmsgque_MqContextC_CTOR()

static OT_ProcRet tclmqmsgque_MqContextC_CTOR ( CONSTR_ARGS )
static

Tcl: (constructor,static) MqContextC [MqContextC CTOR ?tmpl:MqContextC="MK_NULL"?] C-API
create and initialize the MqContextC ...

Definition at line 3600 of file MqContextC_tcl.c.

3600 {
3603 MQ_CTX tmpl = NULL;
3605 MQ_CTX retVal = MqContextCreate (MqContextCTT, tmpl);
3606 if (retVal == NULL) {
3607 OT_ERROR_CONSTRUCTOR(MqContextC);
3608 goto error;
3609 }
3610 OT_CONSTRUCTOR_POST(retVal)
3611 OT_retObj_CONSTR(retVal);
3612 goto end;
3613 error:
3615 end:
3617}
#define OT_SETUP_CONSTRUCTOR_ARGS(...)
#define OT_retObj_CONSTR(x)
#define OT_SETUP_hdl_constr
#define CTOR_doc