theKernel 10.0
Loading...
Searching...
No Matches
MkErrorC_Get_PY_API

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

+ Collaboration diagram for MkErrorC_Get_PY_API:

Functions

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

Detailed Description

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

Function Documentation

◆ pymkkernel_MkErrorC_GetCode()

static OT_ProcRet pymkkernel_MkErrorC_GetCode ( MkErrorC_ARGS )
static

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

Definition at line 328 of file MkErrorC_py.c.

328 {
333 goto end;
334 error:
336 end:
338}
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_Error
#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
Definition MkErrorC_py.c:23
#define GetCode_doc
#define MkErrorGetCodeI(e)
get the value of MkErrorS::code …

◆ pymkkernel_MkErrorC_GetNum()

static OT_ProcRet pymkkernel_MkErrorC_GetNum ( MkErrorC_ARGS )
static

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

Definition at line 341 of file MkErrorC_py.c.

341 {
346 goto end;
347 error:
349 end:
351}
#define OT_retObj_SET_I32(nat)
#define GetNum_doc
#define MkErrorGetNumI(e)
get the MkErrorS::num. The number can be used as exit-code …

◆ pymkkernel_MkErrorC_GetSize()

static OT_ProcRet pymkkernel_MkErrorC_GetSize ( MkErrorC_ARGS )
static

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

Definition at line 354 of file MkErrorC_py.c.

354 {
359 goto end;
360 error:
362 end:
364}
#define OT_retObj_SET_LONG(nat)
#define GetSize_doc
#define MkErrorGetSizeI(e)
get the error-message-size from the exception-object …

◆ pymkkernel_MkErrorC_GetText()

static OT_ProcRet pymkkernel_MkErrorC_GetText ( MkErrorC_ARGS )
static

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

Definition at line 367 of file MkErrorC_py.c.

367 {
372 goto end;
373 error:
375 end:
377}
#define OT_retObj_SET_STR(nat)
#define GetText_doc
#define MkErrorGetTextI(e)
get the MkErrorS::text …