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

1395 {
1397 OT_SETUP_ONEARG(ErrorCopy_doc)
1398 MQ_CTXN sourceCtx = 0;
1399 OT_CHECK_REQUIRED(OT_CHECK_CTXN (sourceCtx,MK_NULL_NO))
1400 OT_CHECK_NOARGS
1401 OT_retObj_SET(OT_NEW_Mk_enum_OBJ(ErrorE,MqContextErrorCopy (hdl, sourceCtx)))
1402 goto end;
1403 error:
1404 OT_retObj_SET_Error
1405 end:
1407}
#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

◆ 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 1379 of file MqContextC_py.c.

1379 {
1381 OT_SETUP_NOARG(ErrorFORMAT_doc)
1382 OT_CHECK_NOARGS
1383 MK_ERR retVal = MqContextErrorFORMAT (hdl);
1384 OT_retObj_SET_ERR(retVal)
1385 goto end;
1386 error:
1387 OT_retObj_SET_Error
1388 end:
1390}
#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 1410 of file MqContextC_py.c.

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