theKernel 10.0
Loading...
Searching...
No Matches
MkErrorC_Class_TCL_API

MkErrorC - define the class … More...

+ Collaboration diagram for MkErrorC_Class_TCL_API:

Functions

static OT_ProcRet tclmkkernel_MkErrorC_HandleResolve (OtClass_ARGS)
  Tcl: (static) MkErrorC [MkErrorC HandleResolve netHdl:MK_HDL] C-API
Handle-Resolve-Slot - return a MkErrorC from netHdl or "MK_NULL" if invalid…
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet tclmkkernel_MkErrorC_HandleGet (MkErrorC_ARGS)
 
static OT_ProcRet tclmkkernel_MkErrorC_Next (MkErrorC_ARGS)
  Tcl: MkErrorC [$err Next] C-API
get next instance from linked-list of MkErrorS type
 
static OT_ProcRet tclmkkernel_MkErrorC_Prev (MkErrorC_ARGS)
  Tcl: MkErrorC [$err Prev] C-API
get previous instance from linked-list of MkErrorS type
 
static OT_ProcRet tclmkkernel_MkErrorC_Instances (OtClass_ARGS)
  Tcl: (static) MkErrorC [MkErrorC Instances] C-API
get head-instance from linked-list of MkErrorS type …
 
static OT_ProcRet tclmkkernel_MkErrorC_GetNull (OtClass_ARGS)
  Tcl: (static) MkErrorC [MkErrorC GetNull] C-API
Null-Slot - return a MkErrorC typed NULL instance …
 

Detailed Description

MkErrorC - define the class …

Function Documentation

◆ tclmkkernel_MkErrorC_GetNull()

static OT_ProcRet tclmkkernel_MkErrorC_GetNull ( OtClass_ARGS )
static

Tcl: (static) MkErrorC [MkErrorC GetNull] C-API
Null-Slot - return a MkErrorC typed NULL instance …

Definition at line 279 of file MkErrorC_tcl.c.

279 {
283 MK_ERR retVal = MkErrorGetNull ();
284 OT_retObj_SET_ERR(retVal);
285 goto end;
286 error:
288 end:
290}
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_Error
#define OT_retObj_RETURN
#define OT_retObj_SET_ERR(nat)
#define OT_CHECK_NOARGS
#define GetNull_doc
#define OT_SETUP_hdl_static
static MK_ERR MkErrorGetNull(void)
Null-Slot - return a MkErrorC typed NULL instance …
The data-type to store and handle the error-condition …

◆ tclmkkernel_MkErrorC_HandleGet()

MK_DEPRECATED static MK_UNUSED OT_ProcRet tclmkkernel_MkErrorC_HandleGet ( MkErrorC_ARGS )
static

Definition at line 214 of file MkErrorC_tcl.c.

#define OT_ERROR_LNG_RETURN

◆ tclmkkernel_MkErrorC_HandleResolve()

static OT_ProcRet tclmkkernel_MkErrorC_HandleResolve ( OtClass_ARGS )
static

Tcl: (static) MkErrorC [MkErrorC HandleResolve netHdl:MK_HDL] C-API
Handle-Resolve-Slot - return a MkErrorC from netHdl or "MK_NULL" if invalid…

Definition at line 195 of file MkErrorC_tcl.c.

195 {
198 MK_HDL netHdl = 0;
201 MK_ERR retVal = MkErrorHandleResolve (netHdl);
202 OT_retObj_SET_ERR(retVal);
203 goto end;
204 error:
206 end:
208}
#define OT_CHECK_NIH(val)
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_REQUIRED(val)
#define HandleResolve_doc
#define MkErrorHandleResolve(...)
int32_t MK_HDL
4 byte int handle data-type

◆ tclmkkernel_MkErrorC_Instances()

static OT_ProcRet tclmkkernel_MkErrorC_Instances ( OtClass_ARGS )
static

Tcl: (static) MkErrorC [MkErrorC Instances] C-API
get head-instance from linked-list of MkErrorS type …

Definition at line 256 of file MkErrorC_tcl.c.

256 {
260 MK_ERR retVal = MkErrorInstances ();
261 OT_retObj_SET_ERR(retVal);
262 goto end;
263 error:
265 end:
267}
#define Instances_doc
#define MkErrorInstances()

◆ tclmkkernel_MkErrorC_Next()

static OT_ProcRet tclmkkernel_MkErrorC_Next ( MkErrorC_ARGS )
static

Tcl: MkErrorC [$err Next] C-API
get next instance from linked-list of MkErrorS type

Definition at line 226 of file MkErrorC_tcl.c.

226 {
230 MK_ERR retVal = MkErrorNext (hdl);
231 OT_retObj_SET_ERR(retVal);
232 goto end;
233 error:
235 end:
237}
#define OT_SETUP_hdl
#define Next_doc
static MK_ERR MkErrorNext(MK_ERR const err)
get next instance from linked-list of MkErrorS type

◆ tclmkkernel_MkErrorC_Prev()

static OT_ProcRet tclmkkernel_MkErrorC_Prev ( MkErrorC_ARGS )
static

Tcl: MkErrorC [$err Prev] C-API
get previous instance from linked-list of MkErrorS type

Definition at line 240 of file MkErrorC_tcl.c.

240 {
244 MK_ERR retVal = MkErrorPrev (hdl);
245 OT_retObj_SET_ERR(retVal);
246 goto end;
247 error:
249 end:
251}
#define Prev_doc
static MK_ERR MkErrorPrev(MK_ERR const err)
get previous instance from linked-list of MkErrorS type