theKernel 10.0
Loading...
Searching...
No Matches
MkErrorC_Get_RB_API

MkErrorC - various functions to 'get' data out of a MkErrorSMore...

+ Collaboration diagram for MkErrorC_Get_RB_API:

Functions

static OT_ProcRet rbmkkernel_MkErrorC_GetCode (MkErrorC_ARGS)
  Ruby: MkErrorE err.GetCode() C-API
get the value of MkErrorS::code
 
static OT_ProcRet rbmkkernel_MkErrorC_GetNum (MkErrorC_ARGS)
  Ruby: int32 err.GetNum() C-API
get the MkErrorS::num. The number can be used as exit-code …
 
static OT_ProcRet rbmkkernel_MkErrorC_GetSize (MkErrorC_ARGS)
  Ruby: long err.GetSize() C-API
get the error-message-size from the exception-object
 
static OT_ProcRet rbmkkernel_MkErrorC_GetText (MkErrorC_ARGS)
  Ruby: string err.GetText() C-API
get the MkErrorS::text
 

Detailed Description

MkErrorC - various functions to 'get' data out of a MkErrorS

Function Documentation

◆ rbmkkernel_MkErrorC_GetCode()

static OT_ProcRet rbmkkernel_MkErrorC_GetCode ( MkErrorC_ARGS )
static

Ruby: MkErrorE err.GetCode() C-API
get the value of MkErrorS::code

Definition at line 273 of file MkErrorC_rb.c.

273 {
278 end: MK_UNUSED /* LONG JUMP on error */
280}
#define OT_SETUP_NOARG(d)
#define OT_NEW_Mk_enum_OBJ(typ, i)
#define OT_retObj_RETURN
#define OT_retObj_SET(val)
#define OT_CHECK_NOARGS
#define OT_SETUP_hdl
Definition MkErrorC_rb.c:87
#define GetCode_doc
#define MkErrorGetCodeI(e)
get the value of MkErrorS::code …
#define MK_UNUSED
mark unnused variables and functions

◆ rbmkkernel_MkErrorC_GetNum()

static OT_ProcRet rbmkkernel_MkErrorC_GetNum ( MkErrorC_ARGS )
static

Ruby: int32 err.GetNum() C-API
get the MkErrorS::num. The number can be used as exit-code …

Definition at line 283 of file MkErrorC_rb.c.

283 {
288 end: MK_UNUSED /* LONG JUMP on error */
290}
#define OT_retObj_SET_I32(nat)
#define GetNum_doc
#define MkErrorGetNumI(e)
get the MkErrorS::num. The number can be used as exit-code …

◆ rbmkkernel_MkErrorC_GetSize()

static OT_ProcRet rbmkkernel_MkErrorC_GetSize ( MkErrorC_ARGS )
static

Ruby: long err.GetSize() C-API
get the error-message-size from the exception-object

Definition at line 293 of file MkErrorC_rb.c.

293 {
298 end: MK_UNUSED /* LONG JUMP on error */
300}
#define OT_retObj_SET_LONG(nat)
#define GetSize_doc
#define MkErrorGetSizeI(e)
get the error-message-size from the exception-object …

◆ rbmkkernel_MkErrorC_GetText()

static OT_ProcRet rbmkkernel_MkErrorC_GetText ( MkErrorC_ARGS )
static

Ruby: string err.GetText() C-API
get the MkErrorS::text

Definition at line 303 of file MkErrorC_rb.c.

303 {
308 end: MK_UNUSED /* LONG JUMP on error */
310}
#define OT_retObj_SET_STR(nat)
#define GetText_doc
#define MkErrorGetTextI(e)
get the MkErrorS::text …