theLink 10.0
Loading...
Searching...
No Matches
MqContextC_Error_PY_API

MqContextC - move and copy an error from a contextMore...

+ Collaboration diagram for MqContextC_Error_PY_API:

Functions

static OT_ProcRet pymqmsgque_MqContextC_ErrorFORMAT (MqContextC_ARGS)
  Python: MkErrorC fmtobj.ErrorFORMAT() C-API
helper used to access MkErrorDEFAULT from MqContextC
 
OT_ProcRet pymqmsgque_MqContextC_ErrorCopy (MqContextC_ARGS)
  Python: MkErrorE targetCtx.ErrorCopy(sourceCtx:MqContextC) C-API
copy a MkErrorS from the sourceCtx to the targetCtx
 
OT_ProcRet pymqmsgque_MqContextC_ErrorMove (MqContextC_ARGS)
  Python: MkErrorE targetCtx.ErrorMove(sourceCtx:MqContextC) C-API
move a MkErrorS from the sourceCtx to the targetCtx
 

Detailed Description

MqContextC - move and copy an error from a context

Function Documentation

◆ pymqmsgque_MqContextC_ErrorCopy()

OT_ProcRet pymqmsgque_MqContextC_ErrorCopy ( MqContextC_ARGS )

Python: MkErrorE targetCtx.ErrorCopy(sourceCtx:MqContextC) C-API
copy a MkErrorS from the sourceCtx to the targetCtx

Definition at line 1394 of file MqContextC_py.c.

1394 {
1397 MQ_CTXN sourceCtx = 0;
1400 OT_retObj_SET(OT_NEW_Mk_enum_OBJ(ErrorE,MqContextErrorCopy (hdl, sourceCtx)));
1401 goto end;
1402 error:
1404 end:
1406}
#define OT_SETUP_ONEARG(d)
#define OT_retObj_SET_Error
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_RETURN
#define OT_NEW_Mk_enum_OBJ(typ, val)
#define OT_retObj_SET(val)
#define OT_CHECK_NOARGS
#define OT_SETUP_hdl
#define ErrorCopy_doc
#define error
Definition high_lng.h:339
#define MK_NULL_NO
#define MqContextErrorCopy(...)
#define OT_CHECK_CTXN(val, nullB)
PUBLIC data structure for the pymqmsgque-specific-data

◆ pymqmsgque_MqContextC_ErrorFORMAT()

static OT_ProcRet pymqmsgque_MqContextC_ErrorFORMAT ( MqContextC_ARGS )
static

Python: MkErrorC fmtobj.ErrorFORMAT() C-API
helper used to access MkErrorDEFAULT from MqContextC

Definition at line 1378 of file MqContextC_py.c.

1378 {
1382 MK_ERR retVal = MqContextErrorFORMAT (hdl);
1383 OT_retObj_SET_ERR(retVal);
1384 goto end;
1385 error:
1387 end:
1389}
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_ERR(nat)
#define ErrorFORMAT_doc
#define OT_SETUP_hdl__null_allow
static MK_ERR MqContextErrorFORMAT(MQ_CTXN const fmtobj)
helper used to access MkErrorDEFAULT from MqContextC

◆ pymqmsgque_MqContextC_ErrorMove()

OT_ProcRet pymqmsgque_MqContextC_ErrorMove ( MqContextC_ARGS )

Python: MkErrorE targetCtx.ErrorMove(sourceCtx:MqContextC) C-API
move a MkErrorS from the sourceCtx to the targetCtx

Definition at line 1409 of file MqContextC_py.c.

1409 {
1412 MQ_CTXN sourceCtx = 0;
1415 OT_retObj_SET(OT_NEW_Mk_enum_OBJ(ErrorE,MqContextErrorMove (hdl, sourceCtx)));
1416 goto end;
1417 error:
1419 end:
1421}
#define ErrorMove_doc
#define MqContextErrorMove(...)