theKernel 10.0
Loading...
Searching...
No Matches
MkErrorC_Class_PY_API

MkErrorC - define the class … More...

+ Collaboration diagram for MkErrorC_Class_PY_API:

Functions

static OT_ProcRet pymkkernel_MkErrorC_HandleResolve (OtClass_ARGS)
  Python: [static] MkErrorC MkErrorC.HandleResolve(netHdl:MK_HDL) C-API
Handle-Resolve-Slot - return a MkErrorC from netHdl or None if invalid…
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet pymkkernel_MkErrorC_HandleGet (MkErrorC_ARGS)
 
static OT_ProcRet pymkkernel_MkErrorC_Next (MkErrorC_ARGS)
  Python: MkErrorC err.Next() C-API
get next instance from linked-list of MkErrorS type
 
static OT_ProcRet pymkkernel_MkErrorC_Prev (MkErrorC_ARGS)
  Python: MkErrorC err.Prev() C-API
get previous instance from linked-list of MkErrorS type
 
static OT_ProcRet pymkkernel_MkErrorC_Instances (OtClass_ARGS)
  Python: [static] MkErrorC MkErrorC.Instances() C-API
get head-instance from linked-list of MkErrorS type …
 
static OT_ProcRet pymkkernel_MkErrorC_GetNull (OtClass_ARGS)
  Python: [static] MkErrorC MkErrorC.GetNull() C-API
Null-Slot - return a MkErrorC typed NULL instance …
 

Detailed Description

MkErrorC - define the class …

Method definition

Function Documentation

◆ pymkkernel_MkErrorC_GetNull()

static OT_ProcRet pymkkernel_MkErrorC_GetNull ( OtClass_ARGS )
static

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

Definition at line 305 of file MkErrorC_py.c.

305 {
309 MK_ERR retVal = MkErrorGetNull ();
310 OT_retObj_SET_ERR(retVal);
311 goto end;
312 error:
314 end:
316}
#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
Definition MkErrorC_py.c:28
static MK_ERR MkErrorGetNull(void)
Null-Slot - return a MkErrorC typed NULL instance …
The data-type to store and handle the error-condition …

◆ pymkkernel_MkErrorC_HandleGet()

MK_DEPRECATED static MK_UNUSED OT_ProcRet pymkkernel_MkErrorC_HandleGet ( MkErrorC_ARGS )
static

Definition at line 240 of file MkErrorC_py.c.

#define OT_ERROR_LNG_RETURN

◆ pymkkernel_MkErrorC_HandleResolve()

static OT_ProcRet pymkkernel_MkErrorC_HandleResolve ( OtClass_ARGS )
static

Python: [static] MkErrorC MkErrorC.HandleResolve(netHdl:MK_HDL) C-API
Handle-Resolve-Slot - return a MkErrorC from netHdl or None if invalid…

Definition at line 221 of file MkErrorC_py.c.

221 {
224 MK_HDL netHdl = 0;
227 MK_ERR retVal = MkErrorHandleResolve (netHdl);
228 OT_retObj_SET_ERR(retVal);
229 goto end;
230 error:
232 end:
234}
#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
#define OT_CHECK_NIH(val)

◆ pymkkernel_MkErrorC_Instances()

static OT_ProcRet pymkkernel_MkErrorC_Instances ( OtClass_ARGS )
static

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

Definition at line 282 of file MkErrorC_py.c.

282 {
286 MK_ERR retVal = MkErrorInstances ();
287 OT_retObj_SET_ERR(retVal);
288 goto end;
289 error:
291 end:
293}
#define Instances_doc
#define MkErrorInstances()

◆ pymkkernel_MkErrorC_Next()

static OT_ProcRet pymkkernel_MkErrorC_Next ( MkErrorC_ARGS )
static

Python: MkErrorC err.Next() C-API
get next instance from linked-list of MkErrorS type

Definition at line 252 of file MkErrorC_py.c.

252 {
256 MK_ERR retVal = MkErrorNext (hdl);
257 OT_retObj_SET_ERR(retVal);
258 goto end;
259 error:
261 end:
263}
#define OT_SETUP_hdl
Definition MkErrorC_py.c:23
#define Next_doc
static MK_ERR MkErrorNext(MK_ERR const err)
get next instance from linked-list of MkErrorS type

◆ pymkkernel_MkErrorC_Prev()

static OT_ProcRet pymkkernel_MkErrorC_Prev ( MkErrorC_ARGS )
static

Python: MkErrorC err.Prev() C-API
get previous instance from linked-list of MkErrorS type

Definition at line 266 of file MkErrorC_py.c.

266 {
270 MK_ERR retVal = MkErrorPrev (hdl);
271 OT_retObj_SET_ERR(retVal);
272 goto end;
273 error:
275 end:
277}
#define Prev_doc
static MK_ERR MkErrorPrev(MK_ERR const err)
get previous instance from linked-list of MkErrorS type