theLink 10.0
Loading...
Searching...
No Matches
MqContextC_Error_RB_API

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

+ Collaboration diagram for MqContextC_Error_RB_API:

Functions

static OT_ProcRet rbmqmsgque_MqContextC_ErrorFORMAT (MqContextC_ARGS)
  Ruby: MkErrorC fmtobj.ErrorFORMAT() C-API
helper used to access MkErrorDEFAULT from MqContextC
 
OT_ProcRet rbmqmsgque_MqContextC_ErrorCopy (MqContextC_ARGS)
  Ruby: MkErrorE targetCtx.ErrorCopy(sourceCtx:MqContextC) C-API
copy a MkErrorS from the sourceCtx to the targetCtx
 
OT_ProcRet rbmqmsgque_MqContextC_ErrorMove (MqContextC_ARGS)
  Ruby: 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

◆ rbmqmsgque_MqContextC_ErrorCopy()

OT_ProcRet rbmqmsgque_MqContextC_ErrorCopy ( MqContextC_ARGS )

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

Definition at line 1161 of file MqContextC_rb.c.

1161 {
1164 MQ_CTXN sourceCtx = 0;
1167 OT_retObj_SET(OT_NEW_Mk_enum_OBJ(ErrorE,MqContextErrorCopy (hdl, sourceCtx)));
1168 end: MK_UNUSED /* LONG JUMP on error */
1170}
#define OT_SETUP_ONEARG(d)
#define OT_NEW_Mk_enum_OBJ(typ, i)
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_RETURN
#define OT_retObj_SET(val)
#define OT_CHECK_NOARGS
#define OT_SETUP_hdl
#define ErrorCopy_doc
#define MK_NULL_NO
#define MK_UNUSED
#define MqContextErrorCopy(...)
#define OT_CHECK_CTXN(val, nullB)
PUBLIC data structure for the rbmqmsgque-specific-data

◆ rbmqmsgque_MqContextC_ErrorFORMAT()

static OT_ProcRet rbmqmsgque_MqContextC_ErrorFORMAT ( MqContextC_ARGS )
static

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

Definition at line 1148 of file MqContextC_rb.c.

1148 {
1152 MK_ERR retVal = MqContextErrorFORMAT (hdl);
1153 OT_retObj_SET_ERR(retVal);
1154 end: MK_UNUSED /* LONG JUMP on error */
1156}
#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

◆ rbmqmsgque_MqContextC_ErrorMove()

OT_ProcRet rbmqmsgque_MqContextC_ErrorMove ( MqContextC_ARGS )

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

Definition at line 1173 of file MqContextC_rb.c.

1173 {
1176 MQ_CTXN sourceCtx = 0;
1179 OT_retObj_SET(OT_NEW_Mk_enum_OBJ(ErrorE,MqContextErrorMove (hdl, sourceCtx)));
1180 end: MK_UNUSED /* LONG JUMP on error */
1182}
#define ErrorMove_doc
#define MqContextErrorMove(...)