Loading...
Searching...
No Matches
MqContextC_Class_PY_API

MqContextC - define the class … More...

+ Collaboration diagram for MqContextC_Class_PY_API:

Functions

static OT_ProcRet py_mqmsgque_MqContextC_HandleResolve (OtClass_ARGS)
  Python: [static] MqContextC MqContextC.HandleResolve(netHdl:MK_HDL) C-API
Handle-Resolve-Slot - return a MqContextC from netHdl or None if invalid…
 
static OT_ProcRet py_mqmsgque_MqContextC_Next (MqContextC_ARGS)
  Python: MqContextC ctx.Next() C-API
get next instance from linked-list of MqContextS type
 
static OT_ProcRet py_mqmsgque_MqContextC_Prev (MqContextC_ARGS)
  Python: MqContextC ctx.Prev() C-API
get previous instance from linked-list of MqContextS type
 
static OT_ProcRet py_mqmsgque_MqContextC_Instances (OtClass_ARGS)
  Python: [static] MqContextC MqContextC.Instances() C-API
get head-instance from linked-list of MqContextS type …
 
static OT_ProcRet py_mqmsgque_MqContextC_GetNull (OtClass_ARGS)
  Python: [static] MqContextC MqContextC.GetNull() C-API
Null-Slot - return a MqContextC typed NULL instance …
 

Detailed Description

MqContextC - define the class …

Function Documentation

◆ py_mqmsgque_MqContextC_GetNull()

static OT_ProcRet py_mqmsgque_MqContextC_GetNull ( OtClass_ARGS )
static

Python: [static] MqContextC MqContextC.GetNull() C-API
Null-Slot - return a MqContextC typed NULL instance …

Definition at line 539 of file MqContextC_py.c.

539 {
541 OT_SETUP_NOARG(GetNull_doc)
542 OT_CHECK_NOARGS
543 MQ_CTX retVal = MqContextGetNull ();
544 OT_retObj_SET_CTX(retVal)
545 goto end;
546 error:
547 OT_retObj_SET_Error
548 end:
550}
#define GetNull_doc
#define OT_SETUP_hdl_static
#define OT_retObj_RETURN
#define error
MQ_CTX MqContextGetNull(void)
Null-Slot - return a MqContextC typed NULL instance …
PUBLIC data structure for the pymqmsgque-specific-data

◆ py_mqmsgque_MqContextC_HandleResolve()

static OT_ProcRet py_mqmsgque_MqContextC_HandleResolve ( OtClass_ARGS )
static

Python: [static] MqContextC MqContextC.HandleResolve(netHdl:MK_HDL) C-API
Handle-Resolve-Slot - return a MqContextC from netHdl or None if invalid…

Definition at line 457 of file MqContextC_py.c.

457 {
459 OT_SETUP_ONEARG(HandleResolve_doc)
460 MK_HDL netHdl = 0;
461 OT_CHECK_REQUIRED(OT_CHECK_NIH (netHdl))
462 OT_CHECK_NOARGS
463 MQ_CTX retVal = MqContextHandleResolve (netHdl);
464 OT_retObj_SET_CTX(retVal)
465 goto end;
466 error:
467 OT_retObj_SET_Error
468 end:
470}
#define HandleResolve_doc
int32_t MK_HDL
#define MqContextHandleResolve(...)

◆ py_mqmsgque_MqContextC_Instances()

static OT_ProcRet py_mqmsgque_MqContextC_Instances ( OtClass_ARGS )
static

Python: [static] MqContextC MqContextC.Instances() C-API
get head-instance from linked-list of MqContextS type …

Definition at line 516 of file MqContextC_py.c.

516 {
518 OT_SETUP_NOARG(Instances_doc)
519 OT_CHECK_NOARGS
520 MQ_CTX retVal = MqContextInstances ();
521 OT_retObj_SET_CTX(retVal)
522 goto end;
523 error:
524 OT_retObj_SET_Error
525 end:
527}
#define Instances_doc
#define MqContextInstances()

◆ py_mqmsgque_MqContextC_Next()

static OT_ProcRet py_mqmsgque_MqContextC_Next ( MqContextC_ARGS )
static

Python: MqContextC ctx.Next() C-API
get next instance from linked-list of MqContextS type

Definition at line 486 of file MqContextC_py.c.

486 {
488 OT_SETUP_NOARG(Next_doc)
489 OT_CHECK_NOARGS
490 MQ_CTX retVal = MqContextNext (hdl);
491 OT_retObj_SET_CTX(retVal)
492 goto end;
493 error:
494 OT_retObj_SET_Error
495 end:
497}
#define OT_SETUP_hdl
#define Next_doc
MK_ATTR_HDL MQ_CTX MqContextNext(MQ_CTX const ctx)
get next instance from linked-list of MqContextS type

◆ py_mqmsgque_MqContextC_Prev()

static OT_ProcRet py_mqmsgque_MqContextC_Prev ( MqContextC_ARGS )
static

Python: MqContextC ctx.Prev() C-API
get previous instance from linked-list of MqContextS type

Definition at line 500 of file MqContextC_py.c.

500 {
502 OT_SETUP_NOARG(Prev_doc)
503 OT_CHECK_NOARGS
504 MQ_CTX retVal = MqContextPrev (hdl);
505 OT_retObj_SET_CTX(retVal)
506 goto end;
507 error:
508 OT_retObj_SET_Error
509 end:
511}
#define Prev_doc
MK_ATTR_HDL MQ_CTX MqContextPrev(MQ_CTX const ctx)
get previous instance from linked-list of MqContextS type