theKernel 10.0
Loading...
Searching...
No Matches
MkErrorC_Get_TCL_API

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

+ Collaboration diagram for MkErrorC_Get_TCL_API:

Functions

static OT_ProcRet tclmkkernel_MkErrorC_GetCode (MkErrorC_ARGS)
  Tcl: MkErrorE [$err GetCode] C-API
get the value of MkErrorS::code
 
static OT_ProcRet tclmkkernel_MkErrorC_GetNum (MkErrorC_ARGS)
  Tcl: int32 [$err GetNum] C-API
get the MkErrorS::num. The number can be used as exit-code …
 
static OT_ProcRet tclmkkernel_MkErrorC_GetSize (MkErrorC_ARGS)
  Tcl: long [$err GetSize] C-API
get the error-message-size from the exception-object
 
static OT_ProcRet tclmkkernel_MkErrorC_GetText (MkErrorC_ARGS)
  Tcl: string [$err GetText] C-API
get the MkErrorS::text
 

Detailed Description

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

Function Documentation

◆ tclmkkernel_MkErrorC_GetCode()

static OT_ProcRet tclmkkernel_MkErrorC_GetCode ( MkErrorC_ARGS )
static

Tcl: MkErrorE [$err GetCode] C-API
get the value of MkErrorS::code

Definition at line 302 of file MkErrorC_tcl.c.

302 {
307 goto end;
308 error:
310 end:
312}
#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
#define GetCode_doc
#define MkErrorGetCodeI(e)
get the value of MkErrorS::code …

◆ tclmkkernel_MkErrorC_GetNum()

static OT_ProcRet tclmkkernel_MkErrorC_GetNum ( MkErrorC_ARGS )
static

Tcl: int32 [$err GetNum] C-API
get the MkErrorS::num. The number can be used as exit-code …

Definition at line 315 of file MkErrorC_tcl.c.

315 {
320 goto end;
321 error:
323 end:
325}
#define OT_retObj_SET_I32(nat)
#define GetNum_doc
#define MkErrorGetNumI(e)
get the MkErrorS::num. The number can be used as exit-code …

◆ tclmkkernel_MkErrorC_GetSize()

static OT_ProcRet tclmkkernel_MkErrorC_GetSize ( MkErrorC_ARGS )
static

Tcl: long [$err GetSize] C-API
get the error-message-size from the exception-object

Definition at line 328 of file MkErrorC_tcl.c.

328 {
333 goto end;
334 error:
336 end:
338}
#define OT_retObj_SET_LONG(nat)
#define GetSize_doc
#define MkErrorGetSizeI(e)
get the error-message-size from the exception-object …

◆ tclmkkernel_MkErrorC_GetText()

static OT_ProcRet tclmkkernel_MkErrorC_GetText ( MkErrorC_ARGS )
static

Tcl: string [$err GetText] C-API
get the MkErrorS::text

Definition at line 341 of file MkErrorC_tcl.c.

341 {
346 goto end;
347 error:
349 end:
351}
#define OT_retObj_SET_STR(nat)
#define GetText_doc
#define MkErrorGetTextI(e)
get the MkErrorS::text …