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 py_mqmsgque_MqContextC_ErrorFORMAT (MqContextC_ARGS)
  Python: MkErrorC fmtobj.ErrorFORMAT() C-API
helper used to access MkErrorDEFAULT from MqContextC
 
OT_ProcRet py_mqmsgque_MqContextC_ErrorCopy (MqContextC_ARGS)
  Python: MkErrorE targetCtx.ErrorCopy(sourceCtx:MqContextC) C-API
copy a MkErrorS from the sourceCtx to the targetCtx
 
OT_ProcRet py_mqmsgque_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

◆ py_mqmsgque_MqContextC_ErrorCopy()

OT_ProcRet py_mqmsgque_MqContextC_ErrorCopy ( MqContextC_ARGS )

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

Definition at line 1397 of file MqContextC_py.c.

1397 {
1399 OT_SETUP_ONEARG(ErrorCopy_doc)
1400 MQ_CTXN sourceCtx = 0;
1401 OT_CHECK_REQUIRED(OT_CHECK_CTXN (sourceCtx,MK_NULL_NO))
1402 OT_CHECK_NOARGS
1403 OT_retObj_SET(OT_NEW_Mk_enum_OBJ(ErrorE,MqContextErrorCopy (hdl, sourceCtx)))
1404 goto end;
1405 error:
1406 OT_retObj_SET_Error
1407 end:
1409}
#define OT_SETUP_hdl
#define ErrorCopy_doc
#define OT_retObj_RETURN
#define error
#define MK_NULL_NO
#define MqContextErrorCopy(...)
PUBLIC data structure for the pymqmsgque-specific-data

◆ py_mqmsgque_MqContextC_ErrorFORMAT()

static OT_ProcRet py_mqmsgque_MqContextC_ErrorFORMAT ( MqContextC_ARGS )
static

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

Definition at line 1381 of file MqContextC_py.c.

1381 {
1383 OT_SETUP_NOARG(ErrorFORMAT_doc)
1384 OT_CHECK_NOARGS
1385 MK_ERR retVal = MqContextErrorFORMAT (hdl);
1386 OT_retObj_SET_ERR(retVal)
1387 goto end;
1388 error:
1389 OT_retObj_SET_Error
1390 end:
1392}
#define ErrorFORMAT_doc
MK_ERR MqContextErrorFORMAT(MQ_CTXN const fmtobj)
helper used to access MkErrorDEFAULT from MqContextC

◆ py_mqmsgque_MqContextC_ErrorMove()

OT_ProcRet py_mqmsgque_MqContextC_ErrorMove ( MqContextC_ARGS )

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

Definition at line 1412 of file MqContextC_py.c.

1412 {
1414 OT_SETUP_ONEARG(ErrorMove_doc)
1415 MQ_CTXN sourceCtx = 0;
1416 OT_CHECK_REQUIRED(OT_CHECK_CTXN (sourceCtx,MK_NULL_NO))
1417 OT_CHECK_NOARGS
1418 OT_retObj_SET(OT_NEW_Mk_enum_OBJ(ErrorE,MqContextErrorMove (hdl, sourceCtx)))
1419 goto end;
1420 error:
1421 OT_retObj_SET_Error
1422 end:
1424}
#define ErrorMove_doc
#define MqContextErrorMove(...)