theSq3Lite 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard - theLib - theATL
c - tcl - atl - cs - py - rb - jv - cc
Loading...
Searching...
No Matches
LibMkKernel_py.h File Reference

LibMkKernel_py.h - 10 Apr 2025 - aotto1968. More...

#include <Python.h>
#include "nhi1_config.h"
#include "debug_mk.h"
#include "LibMkKernel_mk.h"
#include "tmpl/mk_type_S_lng.h"
#include "tmpl/mk_misc_check_lng.h"
#include "tmpl/mk_misc_ObjAs_lng.h"
+ Include dependency graph for LibMkKernel_py.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  MkKernelThreadStateS
 
struct  MkBufferListC_Obj
 
struct  MkBufferC_Obj
 
struct  MkBufferStreamC_Obj
 
struct  MkErrorC_Obj
 
struct  MkLogFileC_Obj
 
struct  MkObjectC_Obj
 
struct  MkRuntimeC_Obj
 
struct  MkCallS
 

Macros

#define HEADER
 
#define MK_PY_EXTERN
 static library
 
#define MK_PY_EXTERN_DATA   extern
 
#define MK(n)
 
#define NS(n)
 
#define OT_ProcRet   PyObject*
 
#define CONSTR_ARGS   PyTypeObject *class, PyObject *objv, PyObject *kwd
 
#define CONSTR_ARGS_CALL   class, objv
 
#define OtClass_ARGS   PyObject *class, PyObject *objv
 
#define OtClass_ARGS_CALL   class, objv
 
#define OT_LNG_NULL   Py_None
 
#define OT_LNG_UNDEF   Py_None
 
#define OT_LNG_IS_NULL(val)
 
#define OT_LNG_RETURN(ret, cmd)
 
#define OT_LNG_NAME_FROM_CLASS(cls)
 
#define OT_LNG_OBJ_CLASSNAME(obj)
 
#define OT_LNG_OBJV(skip)
 
#define OT_LNG_OBJ_CLASS_IS(val, cls)
 
#define OT_OBJ_TO_CLASS(ptr)
 
#define OT_OBJ_TO_ENUM(str)
 
#define OT_LNG_OBJECT_IS(objV)
 
#define OT_CLASS_TYPE_REF   OT_CLS_TR
 
#define OT_REF_INCR(_obj)
 
#define OT_REF_INCR_AND_RETURN(_obj)
 
#define OT_REF_DECR_AND_NULL(_obj)
 
#define MkBufferListC_lngO   (&MK(MkBufferListCR))
 
#define MkBufferListC_base   (&MK(MkObjectCR))
 
#define MkBufferListC_MK_NULL   MK(MkKernelThreadState).MkBufferListC_MK_NULL
 
#define MkBufferListC_ARGS   MkBufferListC_Obj *self, PyObject *objv
 
#define MkBufferListC_ARGS_CALL   self, objv
 
#define OT_retObj_SET_BFL(nat)
 
#define OT_TMP_BFL_OBJ(val)
 
#define VAL2BFL(val)
 
#define MkBufferC_lngO   (&MK(MkBufferCR))
 
#define MkBufferC_base   (&MK(MkObjectCR))
 
#define MkBufferC_MK_NULL   MK(MkKernelThreadState).MkBufferC_MK_NULL
 
#define MkBufferC_ARGS   MkBufferC_Obj *self, PyObject *objv
 
#define MkBufferC_ARGS_CALL   self, objv
 
#define OT_retObj_SET_BUF(nat)
 
#define OT_TMP_BUF_OBJ(val)
 
#define VAL2BUF(val)
 
#define MkBufferStreamC_lngO   (&MK(MkBufferStreamCR))
 
#define MkBufferStreamC_base   (&MK(MkObjectCR))
 
#define MkBufferStreamC_MK_NULL   MK(MkKernelThreadState).MkBufferStreamC_MK_NULL
 
#define MkBufferStreamC_ARGS   MkBufferStreamC_Obj *self, PyObject *objv
 
#define MkBufferStreamC_ARGS_CALL   self, objv
 
#define OT_retObj_SET_BUS(nat)
 
#define OT_TMP_BUS_OBJ(val)
 
#define VAL2BUS(val)
 
#define MkErrorC_lngO   (&MK(MkErrorCR))
 
#define MkErrorC_base   (&MK(MkObjectCR))
 
#define MkErrorC_MK_NULL   MK(MkKernelThreadState).MkErrorC_MK_NULL
 
#define MkErrorC_ARGS   MkErrorC_Obj *self, PyObject *objv
 
#define MkErrorC_ARGS_CALL   self, objv
 
#define OT_retObj_SET_ERR(nat)
 
#define OT_TMP_ERR_OBJ(val)
 
#define VAL2ERR(val)
 
#define MkLogFileC_lngO   (&MK(MkLogFileCR))
 
#define MkLogFileC_base   (&MK(MkObjectCR))
 
#define MkLogFileC_MK_NULL   MK(MkKernelThreadState).MkLogFileC_MK_NULL
 
#define MkLogFileC_ARGS   MkLogFileC_Obj *self, PyObject *objv
 
#define MkLogFileC_ARGS_CALL   self, objv
 
#define OT_retObj_SET_LFL(nat)
 
#define OT_TMP_LFL_OBJ(val)
 
#define VAL2LFL(val)
 
#define MkObjectC_lngO   (&MK(MkObjectCR))
 
#define MkObjectC_base   NULL
 
#define MkObjectC_MK_NULL   MK(MkKernelThreadState).MkObjectC_MK_NULL
 
#define MkObjectC_ARGS   MkObjectC_Obj *self, PyObject *objv
 
#define MkObjectC_ARGS_CALL   self, objv
 
#define OT_retObj_SET_OBJ(nat)
 
#define OT_TMP_OBJ_OBJ(val)
 
#define VAL2OBJ(val)
 
#define MkRuntimeC_lngO   (&MK(MkRuntimeCR))
 
#define MkRuntimeC_base   (&MK(MkObjectCR))
 
#define MkRuntimeC_MK_NULL   MK(MkKernelThreadState).MkRuntimeC_MK_NULL
 
#define MkRuntimeC_ARGS   MkRuntimeC_Obj *self, PyObject *objv
 
#define MkRuntimeC_ARGS_CALL   self, objv
 
#define OT_retObj_SET_RT(nat)
 
#define OT_TMP_RT_OBJ(val)
 
#define VAL2RT(val)
 
#define OT_SETUP_ARGS_ALL(d)
 
#define OT_FRAME_CLEANUP   if (frame != NULL) Py_CLEAR(frame)
 
#define OT_SETUP_VARARGS(min, max, d)
 
#define OT_SETUP_CONSTRUCTOR_ARGS(...)
 
#define OT_SETUP_ONEARG(d)
 
#define OT_SETUP_NOARG(d)
 
#define OT_SETUP_OBJ(o, v)
 
#define OT_SELF   ((PyObject*)self)
 
#define OT_SELF_X(x)
 
#define OT_SELF_O(o)
 
#define OT_SETUP_hdl_tmpl(cls)
 
#define OT_SETUP_hdl_tmpl__null_allow(cls)
 
#define OT_RET_SELF   (Py_NewRef(OT_SELF))
 
#define OT_retObj_SET(val)
 
#define OT_retObj_SET_None   retObj = Py_NewRef(Py_None);
 
#define OT_retObj_SET_Error   retObj = NULL;
 
#define OT_retObj_SET_List   retObj = PyList_New(0);
 
#define OT_retObj_APPEND(var)
 
#define OT_retObj_RETURN   return ((PyObject*)retObj);
 
#define OT_retObj_SET_BOL(nat)
 
#define OT_retObj_SET_I8(nat)
 
#define OT_retObj_SET_I16(nat)
 
#define OT_retObj_SET_I32(nat)
 
#define OT_retObj_SET_I64(nat)
 
#define OT_retObj_SET_FLT(nat)
 
#define OT_retObj_SET_DBL(nat)
 
#define OT_retObj_SET_BIN(nat, len)
 
#define OT_retObj_SET_STR(nat)
 
#define OT_retObj_SET_STRN(nat)
 
#define OT_retObj_SET_LONG(nat)
 
#define OT_retObj_SET_HDL(nat)
 
#define OT_CONSTRUCTOR_POST(x)
 
#define OT_MK_CALL_0(obj, cls, meth, ret)
 
#define OT_ERROR_LNG_RETURN   return NULL
 
#define OT_ERROR_BASE(err, str)
 
#define OT_ERROR_SOFT_CONSTRUCTOR(class)
 
#define OT_ERROR_CONSTRUCTOR(class)
 
#define OT_ERROR_TYPE(str)
 
#define MkErrorC_Check(mng, PROC)
 
#define MkErrorC_Check_1(PROC)
 
#define MkErrorC_CheckD(PROC)
 
#define OT_ERROR_META_2_LNG(m)
 
#define OT_ERROR_LNG_2_META(m)
 
#define check_LNG(PROC)
 
#define OtErrorCheckLng(PROC)
 
#define LngErrorCheckT(TAG, PROC)
 
#define LngErrorCheckN(PROC)
 
#define LngErrorCheckNT(TAG, PROC)
 
#define OT_ERROR_NUMARGS(...)
 
#define OT_ERROR_VAR_DEFAULT(...)
 
#define OT_TMP_BOL_OBJ(val)
 
#define OT_TMP_I8_OBJ(val)
 
#define OT_TMP_I16_OBJ(val)
 
#define OT_TMP_I32_OBJ(val)
 
#define OT_TMP_I64_OBJ(val)
 
#define OT_TMP_FLT_OBJ(val)
 
#define OT_TMP_DBL_OBJ(val)
 
#define OT_TMP_BIN_OBJ(val, len)
 
#define OT_TMP_STR_OBJ(val)
 
#define OT_Prefix_ARGS   MK_RT_ARGS
 
#define OT_Prefix_CALL   MK_RT_CALL
 
#define SETUP_ARGS   MK_RT_ARGS Py_ssize_t objc, PyObject *objv
 
#define SETUP_ARGS_CALL   MK_RT_CALL objc, objv
 
#define OT_Check_ARGS   SETUP_ARGS, MK_MNG hdl, MK_STRN const arg, Py_ssize_t *skipP
 
#define OT_Check_CALL(arg)
 
#define OT_LNG_NULL_IS(obj)
 
#define OT_LNG_ARRAY_IS(obj)
 
#define OT_LNG_LONG_IS(obj)
 
#define OT_LNG_I32_IS(obj)
 
#define OT_LNG_SKIP_TYPE   Py_ssize_t
 
#define OT_LNG_OBJ_ENUM_IS(obj, enm)
 
#define OT_LNG_ENUM_NAME(enm)
 
#define OT_ENUM_TO_I32(o, e)
 
#define OT_ENUM_TO_I32_2(o, str)
 
#define OT_LNG_STRN_PRE(str, obj)
 
#define OT_LNG_STRN_PRE_AND_LEN(str, _len, obj)
 
#define OT_LNG_STRN_POST(str, obj)
 
#define OT_TUPLE_GET_ITEM(_obj, _skip)
 
#define OT_CHECK_OPTIONAL(val)
 
#define OT_CHECK_REQUIRED(val)
 
#define OT_CHECK_NUM_ARGS(min, max)
 
#define OT_CHECK_NOARGS
 
#define OT_CHECK_BNP(val, len)
 
#define OT_CHECK_BCP(val)
 
#define OT_GET_CONSTR_NAME(ctor)
 
#define check_NULL(E)
 
#define MkErrorE_lngO   (MK(MkKernelThreadState).MkErrorE)
 
#define MkIdSE_lngO   (MK(MkKernelThreadState).MkIdSE)
 
#define MkTimeoutE_lngO   (MK(MkKernelThreadState).MkTimeoutE)
 
#define MkTypeE_lngO   (MK(MkKernelThreadState).MkTypeE)
 
#define OT_NEW_Mk_enum_OBJ(typ, val)
 
#define OT_CHECK_STRN(val)
 
#define OT_CHECK_C_COPY(val, size)
 
#define OT_CHECK_LNGTMPL(val, func)
 
#define OT_CHECK_bool(val)
 
#define OT_CHECK_NB1(val)
 
#define OT_CHECK_NI1(val)
 
#define OT_CHECK_NI2(val)
 
#define OT_CHECK_NI4(val)
 
#define OT_CHECK_NI8(val)
 
#define OT_CHECK_NF4(val)
 
#define OT_CHECK_NF8(val)
 
#define OT_CHECK_NIL(val)
 
#define OT_GET_CALL_PROC   MK(Get_Call_Proc)(0,&frame)
 
#define OT_GET_CALL_FILE   MK(Get_Call_Script)(0,&frame)
 
#define OT_GET_CALL_LINE   MK(Get_Call_Line)(0,&frame)
 
#define OT_OBJECT_DISPOSE(self)
 
#define OT_OBJECT_DELETE(self)
 
#define OT_OBJECT_DELETE_HARD(self)
 
#define OT_MODULE_STATE(Ns)
 
#define OBJ2VAL(nat)
 
#define I82VAL(nat)
 
#define BOL2VAL(nat)
 
#define I162VAL(nat)
 
#define INT2VAL(nat)
 
#define I642VAL(nat)
 
#define FLT2VAL(nat)
 
#define DBL2VAL(nat)
 
#define STRN2VAL(nat)
 
#define STR2VAL(ptr, len)
 
#define BIN2VAL(ptr, len)
 
#define LONG2VAL(nat)
 
#define HDL2VAL(nat)
 
#define VAL2MNG(val)
 
#define ME_REF_MkBinaryR   MkBinaryR
 
#define OT_GET__ME_REF_MkBinaryR(b)
 
#define VAL2MkBinaryR(_obj)
 
#define OT_CHECK__ME_REF_MkBinaryR(val)
 
#define ME_REF_MkStringR   MkStringR
 
#define OT_GET__ME_REF_MkStringR(b)
 
#define VAL2MkStringR(_obj)
 
#define OT_CHECK__ME_REF_MkStringR(val)
 
#define formatObj_fmt   "%-10s [ptr=%-16p, refCnt=%-3zi, type=%-16s, self=%-16p, mq=%p] -> %s"
 
#define formatObj_args(s, o)
 
#define formatObj(s, o)
 
#define printXSObj(ctx, s, o)
 
#define printXLngObj(x, o)
 
#define printLngObj(o)
 
#define formatObj2_fmt   "%-10s [ptr=%-16p, refCnt=%-3zi, type=%-16s, self=%-16p, mq=%p]"
 
#define formatObj2_args(s, o)
 
#define printXSObj2(ctx, s, o)
 
#define printXLngObj2(x, o)
 
#define printLngObj2(o)
 
#define printObj1(x, o)
 
#define printRef(s, o)
 
#define printXRef(x, s, o)
 
#define __doc   "AtomObjNew"
 

Typedefs

typedef PyObject * OT_OBJ_T
 
typedef PyTypeObject * OT_ENUM_T
 
typedef PyTypeObject OT_CLS_TR
 
typedef PyTypeObject * OT_CLS_T
 
typedef struct MkBufferListC_Obj MkBufferListC_Obj
 
typedef struct MkBufferC_Obj MkBufferC_Obj
 
typedef struct MkBufferStreamC_Obj MkBufferStreamC_Obj
 
typedef struct MkErrorC_Obj MkErrorC_Obj
 
typedef struct MkLogFileC_Obj MkLogFileC_Obj
 
typedef struct MkObjectC_Obj MkObjectC_Obj
 
typedef struct MkRuntimeC_Obj MkRuntimeC_Obj
 
typedef MkObjectC_ObjOT_LNG_OBJ_T
 
typedef struct MkCallS MkCallS
 

Functions

int pymkkernel_pMkObjectC_Init (MK_RT mkrt, OT_OBJ_T)
 
int pymkkernel_pMkBufferC_Init (MK_RT mkrt, OT_OBJ_T)
 
int pymkkernel_pMkBufferStreamC_Init (MK_RT mkrt, OT_OBJ_T)
 
int pymkkernel_pMkBufferListC_Init (MK_RT mkrt, OT_OBJ_T)
 
int pymkkernel_pMkLogFileC_Init (MK_RT mkrt, OT_OBJ_T)
 
int pymkkernel_pMkErrorC_Init (MK_RT mkrt, OT_OBJ_T)
 
int pymkkernel_pMkRuntimeC_Init (MK_RT mkrt, OT_OBJ_T)
 
static PyObject * pymkkernel_AtomObjNew (MK_RT mkrt, OT_CLS_T, MK_OBJ)
 
static PyObject * pymkkernel_AtomCreate (MK_RT mkrt, OT_CLS_T, MK_OBJ)
 
static void pymkkernel_AtomDispose (MK_RT mkrt, MK_MNG)
 
static void pymkkernel_AtomDelete (MK_RT mkrt, MK_MNG)
 
static void pymkkernel_AtomDeleteHard (MK_RT mkrt, OT_OBJ_T)
 
static MK_ARTIFICIAL OT_OBJ_T pymkkernel_MkBufferListC_ObjNew (MK_RT mkrt, OT_CLS_T type, MK_BFL hdl)
 
static MK_ARTIFICIAL OT_OBJ_T pymkkernel_MkBufferC_ObjNew (MK_RT mkrt, OT_CLS_T type, MK_BUF hdl)
 
static MK_ARTIFICIAL OT_OBJ_T pymkkernel_MkBufferStreamC_ObjNew (MK_RT mkrt, OT_CLS_T type, MK_BUS hdl)
 
static MK_ARTIFICIAL OT_OBJ_T pymkkernel_MkErrorC_ObjNew (MK_RT mkrt, OT_CLS_T type, MK_ERR hdl)
 
static MK_ARTIFICIAL OT_OBJ_T pymkkernel_MkLogFileC_ObjNew (MK_RT mkrt, OT_CLS_T type, MK_LFL hdl)
 
static MK_ARTIFICIAL OT_OBJ_T pymkkernel_MkObjectC_ObjNew (MK_RT mkrt, OT_CLS_T type, MK_OBJ hdl)
 
static MK_ARTIFICIAL OT_OBJ_T pymkkernel_MkRuntimeC_ObjNew (MK_RT mkrt, OT_CLS_T type, MK_RT hdl)
 
static PyObject * OT_PyObjectOrNone (MK_MNG mng)
 
MK_PY_EXTERN MK_STRN pymkkernel_Get_Call_Proc (Py_ssize_t, PyObject **)
 
MK_PY_EXTERN MK_STRN pymkkernel_Get_Call_Code (Py_ssize_t, PyObject **)
 
MK_PY_EXTERN MK_STRN pymkkernel_Get_Call_Script (Py_ssize_t, PyObject **)
 
MK_PY_EXTERN MK_I32 pymkkernel_Get_Call_Line (Py_ssize_t, PyObject **)
 
bool pymkkernel_Get_Call_Stack (MK_RT mkrt, MK_ERR const, Py_ssize_t, PyObject **)
 
static void pymkkernel_CallFreeOnce (MK_CBP *callP)
 
static void pymkkernel_CallFree (MK_CBP *callP)
 
MK_PY_EXTERN MK_ERR pymkkernel_MkExceptionC_Catch (OT_Prefix_ARGS MK_MNG const, MK_EXP const, MK_STRN const)
 
MK_PY_EXTERN void pymkkernel_MkExceptionC_Raise (OT_Prefix_ARGS MK_MNGN const, MK_STRN const, MK_STRN const, MK_I32)
 
MK_PY_EXTERN OT_ProcRet pymkkernel_MkBufferC_ToObject (MkBufferC_ARGS)
 
MK_PY_EXTERN OT_ProcRet pymkkernel_MkBufferC_GetBFL (MkBufferC_ARGS)
 
MK_PY_EXTERN OT_ProcRet pymkkernel_MkBufferListC_ToList (MkBufferListC_ARGS)
 
static PyObject * PyC2O (MK_STRN v)
 
static PyObject * pymkkernel_STRN2VAL (MK_STRN str)
 
static PyObject * pymkkernel_STR2VAL (MK_STRN str, MK_NUM len)
 
static void pymkkernel_printObjRaw (PyObject *obj, MK_STRN str, MK_STRN caller)
 
char * pymkkernel_LngErrorToString (void)
 
MK_PY_EXTERN const char * pymkkernel_LngObjToString (PyObject *)
 
MK_PY_EXTERN MK_OBJ pymkkernel_LngObjToMqPtr (PyObject *)
 
void pymkkernel_LngUnicodeObjToBuffer (PyObject *, MK_STR, MK_SIZE, MK_STRN)
 

Variables

MK_PY_EXTERN_DATA __thread MkKernelThreadStateS pymkkernel_MkKernelThreadState
 
MK_PY_EXTERN_DATA OT_CLASS_TYPE_REF pymkkernel_MkBufferListCR
 
MK_PY_EXTERN_DATA OT_CLASS_TYPE_REF pymkkernel_MkBufferCR
 
MK_PY_EXTERN_DATA OT_CLASS_TYPE_REF pymkkernel_MkBufferStreamCR
 
MK_PY_EXTERN_DATA OT_CLASS_TYPE_REF pymkkernel_MkErrorCR
 
MK_PY_EXTERN_DATA OT_CLASS_TYPE_REF pymkkernel_MkLogFileCR
 
MK_PY_EXTERN_DATA OT_CLASS_TYPE_REF pymkkernel_MkObjectCR
 
MK_PY_EXTERN_DATA OT_CLASS_TYPE_REF pymkkernel_MkRuntimeCR
 

Detailed Description

LibMkKernel_py.h - 10 Apr 2025 - aotto1968.

Version
220e89cf9473580117e04029d678fcf7e7736959
Date
Thu Apr 10 14:00:03 2025 +0200
Author
aotto1968 aotto.nosp@m.1968.nosp@m.@t-on.nosp@m.line.nosp@m..de

Definition in file LibMkKernel_py.h.

Macro Definition Documentation

◆ __doc

#define __doc   "AtomObjNew"

◆ BIN2VAL

#define BIN2VAL ( ptr,
len )
Value:
PyByteArray_FromStringAndSize((const char*)ptr,(Py_ssize_t)len)

Definition at line 859 of file LibMkKernel_py.h.

◆ BOL2VAL

#define BOL2VAL ( nat)
Value:
PyBool_FromLong(nat)

Definition at line 851 of file LibMkKernel_py.h.

◆ check_LNG

#define check_LNG ( PROC)
Value:
if ((PROC) < 0)

Definition at line 571 of file LibMkKernel_py.h.

◆ check_NULL

#define check_NULL ( E)
Value:
if (unlikely((E) == NULL))
#define unlikely(x)

Definition at line 682 of file LibMkKernel_py.h.

◆ CONSTR_ARGS

#define CONSTR_ARGS   PyTypeObject *class, PyObject *objv, PyObject *kwd

Definition at line 95 of file LibMkKernel_py.h.

◆ CONSTR_ARGS_CALL

#define CONSTR_ARGS_CALL   class, objv

Definition at line 96 of file LibMkKernel_py.h.

◆ DBL2VAL

#define DBL2VAL ( nat)
Value:
PyFloat_FromDouble(nat)

Definition at line 856 of file LibMkKernel_py.h.

◆ FLT2VAL

#define FLT2VAL ( nat)
Value:
PyFloat_FromDouble(nat)

Definition at line 855 of file LibMkKernel_py.h.

◆ formatObj

#define formatObj ( s,
o )
Value:
#define formatObj_fmt
#define formatObj_args(s, o)

Definition at line 964 of file LibMkKernel_py.h.

◆ formatObj2_args

#define formatObj2_args ( s,
o )
Value:
s, o, Py_REFCNT(o),Py_TYPE(o)->tp_name, o, MK(LngObjToMqPtr)(o)
#define MK(n)

Definition at line 971 of file LibMkKernel_py.h.

◆ formatObj2_fmt

#define formatObj2_fmt   "%-10s [ptr=%-16p, refCnt=%-3zi, type=%-16s, self=%-16p, mq=%p]"

Definition at line 970 of file LibMkKernel_py.h.

◆ formatObj_args

#define formatObj_args ( s,
o )
Value:
s, o, Py_REFCNT(o),Py_TYPE(o)->tp_name, o, MK(LngObjToMqPtr)(o), MK(LngObjToString)(o)

Definition at line 962 of file LibMkKernel_py.h.

◆ formatObj_fmt

#define formatObj_fmt   "%-10s [ptr=%-16p, refCnt=%-3zi, type=%-16s, self=%-16p, mq=%p] -> %s"

Definition at line 961 of file LibMkKernel_py.h.

◆ HDL2VAL

#define HDL2VAL ( nat)
Value:
PyLong_FromLong(nat)

Definition at line 861 of file LibMkKernel_py.h.

◆ HEADER

#define HEADER

Definition at line 36 of file LibMkKernel_py.h.

◆ I162VAL

#define I162VAL ( nat)
Value:
PyLong_FromLong(nat)

Definition at line 852 of file LibMkKernel_py.h.

◆ I642VAL

#define I642VAL ( nat)
Value:
PyLong_FromLongLong(nat)

Definition at line 854 of file LibMkKernel_py.h.

◆ I82VAL

#define I82VAL ( nat)
Value:
PyLong_FromLong(nat)

Definition at line 850 of file LibMkKernel_py.h.

◆ INT2VAL

#define INT2VAL ( nat)
Value:
PyLong_FromLong(nat)

Definition at line 853 of file LibMkKernel_py.h.

◆ LngErrorCheckN

#define LngErrorCheckN ( PROC)
Value:
if ((PROC) == NULL) goto error;

Definition at line 574 of file LibMkKernel_py.h.

◆ LngErrorCheckNT

#define LngErrorCheckNT ( TAG,
PROC )
Value:
if ((PROC) == NULL) goto TAG;

Definition at line 575 of file LibMkKernel_py.h.

◆ LngErrorCheckT

#define LngErrorCheckT ( TAG,
PROC )
Value:
if ((PROC) < 0) goto TAG;

Definition at line 573 of file LibMkKernel_py.h.

◆ LONG2VAL

#define LONG2VAL ( nat)
Value:
PyLong_FromLong(nat)

Definition at line 860 of file LibMkKernel_py.h.

◆ ME_REF_MkBinaryR

#define ME_REF_MkBinaryR   MkBinaryR

Definition at line 897 of file LibMkKernel_py.h.

◆ ME_REF_MkStringR

#define ME_REF_MkStringR   MkStringR

Definition at line 921 of file LibMkKernel_py.h.

◆ MK

#define MK ( n)
Value:
pymkkernel_ ## n

Definition at line 87 of file LibMkKernel_py.h.

◆ MK_PY_EXTERN

#define MK_PY_EXTERN

static library

Definition at line 60 of file LibMkKernel_py.h.

◆ MK_PY_EXTERN_DATA

#define MK_PY_EXTERN_DATA   extern

Definition at line 83 of file LibMkKernel_py.h.

◆ MkBufferC_ARGS

#define MkBufferC_ARGS   MkBufferC_Obj *self, PyObject *objv

Definition at line 266 of file LibMkKernel_py.h.

◆ MkBufferC_ARGS_CALL

#define MkBufferC_ARGS_CALL   self, objv

Definition at line 267 of file LibMkKernel_py.h.

◆ MkBufferC_base

#define MkBufferC_base   (&MK(MkObjectCR))

Definition at line 260 of file LibMkKernel_py.h.

◆ MkBufferC_lngO

#define MkBufferC_lngO   (&MK(MkBufferCR))

Definition at line 259 of file LibMkKernel_py.h.

◆ MkBufferC_MK_NULL

#define MkBufferC_MK_NULL   MK(MkKernelThreadState).MkBufferC_MK_NULL

Definition at line 263 of file LibMkKernel_py.h.

◆ MkBufferListC_ARGS

#define MkBufferListC_ARGS   MkBufferListC_Obj *self, PyObject *objv

Definition at line 233 of file LibMkKernel_py.h.

◆ MkBufferListC_ARGS_CALL

#define MkBufferListC_ARGS_CALL   self, objv

Definition at line 234 of file LibMkKernel_py.h.

◆ MkBufferListC_base

#define MkBufferListC_base   (&MK(MkObjectCR))

Definition at line 227 of file LibMkKernel_py.h.

◆ MkBufferListC_lngO

#define MkBufferListC_lngO   (&MK(MkBufferListCR))

Definition at line 226 of file LibMkKernel_py.h.

◆ MkBufferListC_MK_NULL

#define MkBufferListC_MK_NULL   MK(MkKernelThreadState).MkBufferListC_MK_NULL

Definition at line 230 of file LibMkKernel_py.h.

◆ MkBufferStreamC_ARGS

#define MkBufferStreamC_ARGS   MkBufferStreamC_Obj *self, PyObject *objv

Definition at line 299 of file LibMkKernel_py.h.

◆ MkBufferStreamC_ARGS_CALL

#define MkBufferStreamC_ARGS_CALL   self, objv

Definition at line 300 of file LibMkKernel_py.h.

◆ MkBufferStreamC_base

#define MkBufferStreamC_base   (&MK(MkObjectCR))

Definition at line 293 of file LibMkKernel_py.h.

◆ MkBufferStreamC_lngO

#define MkBufferStreamC_lngO   (&MK(MkBufferStreamCR))

Definition at line 292 of file LibMkKernel_py.h.

◆ MkBufferStreamC_MK_NULL

#define MkBufferStreamC_MK_NULL   MK(MkKernelThreadState).MkBufferStreamC_MK_NULL

Definition at line 296 of file LibMkKernel_py.h.

◆ MkErrorC_ARGS

#define MkErrorC_ARGS   MkErrorC_Obj *self, PyObject *objv

Definition at line 332 of file LibMkKernel_py.h.

◆ MkErrorC_ARGS_CALL

#define MkErrorC_ARGS_CALL   self, objv

Definition at line 333 of file LibMkKernel_py.h.

◆ MkErrorC_base

#define MkErrorC_base   (&MK(MkObjectCR))

Definition at line 326 of file LibMkKernel_py.h.

◆ MkErrorC_Check

#define MkErrorC_Check ( mng,
PROC )
Value:
if (unlikely(MkErrorCheckI(PROC))) { \
OT_ERROR_META_2_LNG(mng); goto error; \
}

Definition at line 553 of file LibMkKernel_py.h.

553#define MkErrorC_Check(mng,PROC) \
554 if (unlikely(MkErrorCheckI(PROC))) { \
555 OT_ERROR_META_2_LNG(mng); goto error; \
556 }

◆ MkErrorC_Check_1

#define MkErrorC_Check_1 ( PROC)
Value:
if (unlikely(MkErrorCheckI(PROC))) { \
OT_ERROR_META_2_LNG(MK_ERROR_FORMAT); goto error; \
}
#define MK_ERROR_FORMAT

Definition at line 558 of file LibMkKernel_py.h.

558#define MkErrorC_Check_1(PROC) \
559 if (unlikely(MkErrorCheckI(PROC))) { \
560 OT_ERROR_META_2_LNG(MK_ERROR_FORMAT); goto error; \
561 }

◆ MkErrorC_CheckD

#define MkErrorC_CheckD ( PROC)
Value:
if (unlikely(MkErrorCheckI(PROC))) { \
OT_ERROR_META_2_LNG(hdl); goto error; \
}

Definition at line 563 of file LibMkKernel_py.h.

563#define MkErrorC_CheckD(PROC) \
564 if (unlikely(MkErrorCheckI(PROC))) { \
565 OT_ERROR_META_2_LNG(hdl); goto error; \
566 }

◆ MkErrorC_lngO

#define MkErrorC_lngO   (&MK(MkErrorCR))

Definition at line 325 of file LibMkKernel_py.h.

◆ MkErrorC_MK_NULL

#define MkErrorC_MK_NULL   MK(MkKernelThreadState).MkErrorC_MK_NULL

Definition at line 329 of file LibMkKernel_py.h.

◆ MkErrorE_lngO

#define MkErrorE_lngO   (MK(MkKernelThreadState).MkErrorE)

Definition at line 690 of file LibMkKernel_py.h.

◆ MkIdSE_lngO

#define MkIdSE_lngO   (MK(MkKernelThreadState).MkIdSE)

Definition at line 691 of file LibMkKernel_py.h.

◆ MkLogFileC_ARGS

#define MkLogFileC_ARGS   MkLogFileC_Obj *self, PyObject *objv

Definition at line 365 of file LibMkKernel_py.h.

◆ MkLogFileC_ARGS_CALL

#define MkLogFileC_ARGS_CALL   self, objv

Definition at line 366 of file LibMkKernel_py.h.

◆ MkLogFileC_base

#define MkLogFileC_base   (&MK(MkObjectCR))

Definition at line 359 of file LibMkKernel_py.h.

◆ MkLogFileC_lngO

#define MkLogFileC_lngO   (&MK(MkLogFileCR))

Definition at line 358 of file LibMkKernel_py.h.

◆ MkLogFileC_MK_NULL

#define MkLogFileC_MK_NULL   MK(MkKernelThreadState).MkLogFileC_MK_NULL

Definition at line 362 of file LibMkKernel_py.h.

◆ MkObjectC_ARGS

#define MkObjectC_ARGS   MkObjectC_Obj *self, PyObject *objv

Definition at line 398 of file LibMkKernel_py.h.

◆ MkObjectC_ARGS_CALL

#define MkObjectC_ARGS_CALL   self, objv

Definition at line 399 of file LibMkKernel_py.h.

◆ MkObjectC_base

#define MkObjectC_base   NULL

Definition at line 392 of file LibMkKernel_py.h.

◆ MkObjectC_lngO

#define MkObjectC_lngO   (&MK(MkObjectCR))

Definition at line 391 of file LibMkKernel_py.h.

◆ MkObjectC_MK_NULL

#define MkObjectC_MK_NULL   MK(MkKernelThreadState).MkObjectC_MK_NULL

Definition at line 395 of file LibMkKernel_py.h.

◆ MkRuntimeC_ARGS

#define MkRuntimeC_ARGS   MkRuntimeC_Obj *self, PyObject *objv

Definition at line 431 of file LibMkKernel_py.h.

◆ MkRuntimeC_ARGS_CALL

#define MkRuntimeC_ARGS_CALL   self, objv

Definition at line 432 of file LibMkKernel_py.h.

◆ MkRuntimeC_base

#define MkRuntimeC_base   (&MK(MkObjectCR))

Definition at line 425 of file LibMkKernel_py.h.

◆ MkRuntimeC_lngO

#define MkRuntimeC_lngO   (&MK(MkRuntimeCR))

Definition at line 424 of file LibMkKernel_py.h.

◆ MkRuntimeC_MK_NULL

#define MkRuntimeC_MK_NULL   MK(MkKernelThreadState).MkRuntimeC_MK_NULL

Definition at line 428 of file LibMkKernel_py.h.

◆ MkTimeoutE_lngO

#define MkTimeoutE_lngO   (MK(MkKernelThreadState).MkTimeoutE)

Definition at line 692 of file LibMkKernel_py.h.

◆ MkTypeE_lngO

#define MkTypeE_lngO   (MK(MkKernelThreadState).MkTypeE)

Definition at line 693 of file LibMkKernel_py.h.

◆ NS

#define NS ( n)
Value:
pymkkernel_ ## n

Definition at line 89 of file LibMkKernel_py.h.

◆ OBJ2VAL

#define OBJ2VAL ( nat)
Value:
((OT_OBJ_T)((MK_OBJ)nat)->self)
PyObject * OT_OBJ_T
struct MkObjectS * MK_OBJ

Definition at line 849 of file LibMkKernel_py.h.

◆ OT_CHECK__ME_REF_MkBinaryR

#define OT_CHECK__ME_REF_MkBinaryR ( val)
Value:
if (__skip >= objc) { \
OT_ERROR_NUMARGS(hdl,__skip, objc, -999, +999, #val); \
} else { \
val=VAL2MkBinaryR(OT_TUPLE_GET_ITEM(objv,__skip++)); \
}
#define VAL2MkBinaryR(_obj)
#define OT_TUPLE_GET_ITEM(_obj, _skip)

Definition at line 914 of file LibMkKernel_py.h.

914#define OT_CHECK__ME_REF_MkBinaryR(val) \
915 if (__skip >= objc) { \
916 OT_ERROR_NUMARGS(hdl,__skip, objc, -999, +999, #val); \
917 } else { \
918 val=VAL2MkBinaryR(OT_TUPLE_GET_ITEM(objv,__skip++)); \
919 }

◆ OT_CHECK__ME_REF_MkStringR

#define OT_CHECK__ME_REF_MkStringR ( val)
Value:
if (__skip >= objc) { \
OT_ERROR_NUMARGS(hdl,__skip, objc, -999, +999, #val); \
} else { \
val=VAL2MkStringR(OT_TUPLE_GET_ITEM(objv,__skip++)); \
};
#define VAL2MkStringR(_obj)

Definition at line 939 of file LibMkKernel_py.h.

939#define OT_CHECK__ME_REF_MkStringR(val) \
940 if (__skip >= objc) { \
941 OT_ERROR_NUMARGS(hdl,__skip, objc, -999, +999, #val); \
942 } else { \
943 val=VAL2MkStringR(OT_TUPLE_GET_ITEM(objv,__skip++)); \
944 };

◆ OT_Check_ARGS

#define OT_Check_ARGS   SETUP_ARGS, MK_MNG hdl, MK_STRN const arg, Py_ssize_t *skipP

Definition at line 610 of file LibMkKernel_py.h.

◆ OT_CHECK_BCP

#define OT_CHECK_BCP ( val)
Value:
if (__skip >= objc) { \
OT_ERROR_NUMARGS(hdl,__skip, objc, -999, +999, #val); \
} else {\
PyObject *t1 = OT_TUPLE_GET_ITEM(objv,__skip++);\
if (PyByteArray_Check(t1)) { \
val = (MK_BINN)PyByteArray_AS_STRING(t1); \
} else { \
PyErr_SetString(PyExc_TypeError, "parameter '" #val "' must be a 'byte-array'.");\
goto error;\
} \
};
MK_BINB const * MK_BINN

Definition at line 667 of file LibMkKernel_py.h.

667#define OT_CHECK_BCP(val) \
668 if (__skip >= objc) { \
669 OT_ERROR_NUMARGS(hdl,__skip, objc, -999, +999, #val); \
670 } else {\
671 PyObject *t1 = OT_TUPLE_GET_ITEM(objv,__skip++);\
672 if (PyByteArray_Check(t1)) { \
673 val = (MK_BINN)PyByteArray_AS_STRING(t1); \
674 } else { \
675 PyErr_SetString(PyExc_TypeError, "parameter '" #val "' must be a 'byte-array'.");\
676 goto error;\
677 } \
678 };

◆ OT_CHECK_BNP

#define OT_CHECK_BNP ( val,
len )
Value:
if (__skip >= objc) { \
OT_ERROR_NUMARGS(hdl,__skip, objc, -999, +999, #val); \
} else {\
PyObject *t1 = OT_TUPLE_GET_ITEM(objv,__skip++);\
if (PyByteArray_Check(t1)) { \
val = (MK_BIN)PyByteArray_AS_STRING(t1); \
len = (MK_SIZE)PyByteArray_GET_SIZE(t1); \
} else { \
PyErr_SetString(PyExc_TypeError, "parameter '" #val "' must be a 'byte-array'.");\
goto error;\
} \
};
MK_BINB * MK_BIN
long MK_SIZE

Definition at line 653 of file LibMkKernel_py.h.

653#define OT_CHECK_BNP(val,len) \
654 if (__skip >= objc) { \
655 OT_ERROR_NUMARGS(hdl,__skip, objc, -999, +999, #val); \
656 } else {\
657 PyObject *t1 = OT_TUPLE_GET_ITEM(objv,__skip++);\
658 if (PyByteArray_Check(t1)) { \
659 val = (MK_BIN)PyByteArray_AS_STRING(t1); \
660 len = (MK_SIZE)PyByteArray_GET_SIZE(t1); \
661 } else { \
662 PyErr_SetString(PyExc_TypeError, "parameter '" #val "' must be a 'byte-array'.");\
663 goto error;\
664 } \
665 };

◆ OT_CHECK_bool

#define OT_CHECK_bool ( val)
Value:
#define OT_CHECK_LNGTMPL(val, func)
MK_ATTR_HOT MK_EXTERN enum MkErrorE MK_DECL MK Obj_AsBOOL(OT_Check_ARGS, bool *)

Definition at line 750 of file LibMkKernel_py.h.

◆ OT_CHECK_C_COPY

#define OT_CHECK_C_COPY ( val,
size )
Value:
if (__skip >= objc) { \
OT_ERROR_NUMARGS(hdl,__skip, objc, -999, +999, #val); \
} else { \
PyObject *obj=OT_TUPLE_GET_ITEM(objv,__skip++); \
if (obj == Py_None) { \
val[0]='\0'; \
} else { \
if (PyUnicode_Check(obj)) { \
strncpy(val,PyUnicode_AsUTF8(obj),size); \
} else { \
OT_LNG_STRN_PRE(strC,obj); \
strncpy(val,strC,size); \
OT_LNG_STRN_POST(strC,obj); \
} \
} \
};

Definition at line 726 of file LibMkKernel_py.h.

726#define OT_CHECK_C_COPY(val,size) \
727 if (__skip >= objc) { \
728 OT_ERROR_NUMARGS(hdl,__skip, objc, -999, +999, #val); \
729 } else { \
730 PyObject *obj=OT_TUPLE_GET_ITEM(objv,__skip++); \
731 if (obj == Py_None) { \
732 val[0]='\0'; \
733 } else { \
734 if (PyUnicode_Check(obj)) { \
735 strncpy(val,PyUnicode_AsUTF8(obj),size); \
736 } else { \
737 OT_LNG_STRN_PRE(strC,obj); \
738 strncpy(val,strC,size); \
739 OT_LNG_STRN_POST(strC,obj); \
740 } \
741 } \
742 };

◆ OT_Check_CALL

#define OT_Check_CALL ( arg)
Value:
SETUP_ARGS_CALL, hdl, arg, &__skip
#define SETUP_ARGS_CALL

Definition at line 611 of file LibMkKernel_py.h.

◆ OT_CHECK_LNGTMPL

#define OT_CHECK_LNGTMPL ( val,
func )
Value:
MkErrorC_CheckD(func(OT_Check_CALL(#val),&val));
#define OT_Check_CALL(arg)
#define MkErrorC_CheckD(PROC)

Definition at line 748 of file LibMkKernel_py.h.

◆ OT_CHECK_NB1

#define OT_CHECK_NB1 ( val)
Value:
MK_ATTR_HOT MK_EXTERN enum MkErrorE MK_DECL MK Obj_AsBOL(OT_Check_ARGS, MK_BOL *)

Definition at line 751 of file LibMkKernel_py.h.

◆ OT_CHECK_NF4

#define OT_CHECK_NF4 ( val)
Value:
MK_ATTR_HOT MK_EXTERN enum MkErrorE MK_DECL MK Obj_AsFLT(OT_Check_ARGS, MK_FLT *)

Definition at line 756 of file LibMkKernel_py.h.

◆ OT_CHECK_NF8

#define OT_CHECK_NF8 ( val)
Value:
MK_ATTR_HOT MK_EXTERN enum MkErrorE MK_DECL MK Obj_AsDBL(OT_Check_ARGS, MK_DBL *)

Definition at line 757 of file LibMkKernel_py.h.

◆ OT_CHECK_NI1

#define OT_CHECK_NI1 ( val)
Value:
MK_ATTR_HOT MK_EXTERN enum MkErrorE MK_DECL MK Obj_AsI8(OT_Check_ARGS, MK_I8 *)

Definition at line 752 of file LibMkKernel_py.h.

◆ OT_CHECK_NI2

#define OT_CHECK_NI2 ( val)
Value:
MK_ATTR_HOT MK_EXTERN enum MkErrorE MK_DECL MK Obj_AsI16(OT_Check_ARGS, MK_I16 *)

Definition at line 753 of file LibMkKernel_py.h.

◆ OT_CHECK_NI4

#define OT_CHECK_NI4 ( val)
Value:
MK_ATTR_HOT MK_EXTERN enum MkErrorE MK_DECL MK Obj_AsI32(OT_Check_ARGS, MK_I32 *)

Definition at line 754 of file LibMkKernel_py.h.

◆ OT_CHECK_NI8

#define OT_CHECK_NI8 ( val)
Value:
MK_ATTR_HOT MK_EXTERN enum MkErrorE MK_DECL MK Obj_AsI64(OT_Check_ARGS, MK_I64 *)

Definition at line 755 of file LibMkKernel_py.h.

◆ OT_CHECK_NIL

#define OT_CHECK_NIL ( val)
Value:
MK_ATTR_HOT MK_EXTERN enum MkErrorE MK_DECL MK Obj_AsLONG(OT_Check_ARGS, long *)

Definition at line 758 of file LibMkKernel_py.h.

◆ OT_CHECK_NOARGS

#define OT_CHECK_NOARGS
Value:
if (__skip != objc) {\
OT_ERROR_NUMARGS(hdl,__skip, objc, -999, +999, "");\
}

Definition at line 648 of file LibMkKernel_py.h.

648#define OT_CHECK_NOARGS \
649 if (__skip != objc) {\
650 OT_ERROR_NUMARGS(hdl,__skip, objc, -999, +999, "");\
651 }

◆ OT_CHECK_NUM_ARGS

#define OT_CHECK_NUM_ARGS ( min,
max )
Value:
if (objc < min || objc > max) {\
OT_ERROR_NUMARGS(hdl,__skip, objc, min, max, "");\
}

Definition at line 643 of file LibMkKernel_py.h.

643#define OT_CHECK_NUM_ARGS(min,max) \
644 if (objc < min || objc > max) {\
645 OT_ERROR_NUMARGS(hdl,__skip, objc, min, max, "");\
646 }

◆ OT_CHECK_OPTIONAL

#define OT_CHECK_OPTIONAL ( val)
Value:
if (__skip < objc) {val}

Definition at line 640 of file LibMkKernel_py.h.

◆ OT_CHECK_REQUIRED

#define OT_CHECK_REQUIRED ( val)
Value:
val

Definition at line 641 of file LibMkKernel_py.h.

◆ OT_CHECK_STRN

#define OT_CHECK_STRN ( val)
Value:
if (__skip >= objc) { \
OT_ERROR_NUMARGS(hdl,__skip, objc, -999, +999, #val); \
} else { \
Py_ssize_t len; \
PyObject *obj=OT_TUPLE_GET_ITEM(objv,__skip++); \
if (obj == Py_None) { \
val=""; \
} else { \
if (PyUnicode_Check(obj)) { \
val=PyUnicode_AsUTF8AndSize(obj,&len); \
} else { \
OT_LNG_STRN_PRE_AND_LEN(strC,len,obj); \
/* NO function because of strdupa */ \
val=strdupa(strC); \
OT_LNG_STRN_POST(strC,obj); \
} \
if (MK_NULL_STR_CHECK(val,len)) { \
val = NULL; \
} \
} \
};
static bool MK_NULL_STR_CHECK(char const *const __str, const long int __len)

Definition at line 703 of file LibMkKernel_py.h.

703#define OT_CHECK_STRN(val) \
704 if (__skip >= objc) { \
705 OT_ERROR_NUMARGS(hdl,__skip, objc, -999, +999, #val); \
706 } else { \
707 Py_ssize_t len; \
708 PyObject *obj=OT_TUPLE_GET_ITEM(objv,__skip++); \
709 if (obj == Py_None) { \
710 val=""; \
711 } else { \
712 if (PyUnicode_Check(obj)) { \
713 val=PyUnicode_AsUTF8AndSize(obj,&len); \
714 } else { \
715 OT_LNG_STRN_PRE_AND_LEN(strC,len,obj); \
716 /* NO function because of strdupa */ \
717 val=strdupa(strC); \
718 OT_LNG_STRN_POST(strC,obj); \
719 } \
720 if (MK_NULL_STR_CHECK(val,len)) { \
721 val = NULL; \
722 } \
723 } \
724 };

◆ OT_CLASS_TYPE_REF

#define OT_CLASS_TYPE_REF   OT_CLS_TR

Definition at line 200 of file LibMkKernel_py.h.

◆ OT_CONSTRUCTOR_POST

#define OT_CONSTRUCTOR_POST ( x)

Definition at line 523 of file LibMkKernel_py.h.

◆ OT_ENUM_TO_I32

#define OT_ENUM_TO_I32 ( o,
e )

Definition at line 622 of file LibMkKernel_py.h.

◆ OT_ENUM_TO_I32_2

#define OT_ENUM_TO_I32_2 ( o,
str )

Definition at line 623 of file LibMkKernel_py.h.

◆ OT_ERROR_BASE

#define OT_ERROR_BASE ( err,
str )
Value:
{ \
if (MkErrorCheckE_0E()) { \
PyErr_Format(err,"%s\nMqError: %s",str,MkErrorGetText_0E()); \
MkErrorReset_0M(); \
} else { \
PyErr_SetString(err,str); \
} \
}
#define MkErrorGetText_0E()

Definition at line 534 of file LibMkKernel_py.h.

534#define OT_ERROR_BASE(err,str) { \
535 if (MkErrorCheckE_0E()) { \
536 PyErr_Format(err,"%s\nMqError: %s",str,MkErrorGetText_0E()); \
537 MkErrorReset_0M(); \
538 } else { \
539 PyErr_SetString(err,str); \
540 } \
541}

◆ OT_ERROR_CONSTRUCTOR

#define OT_ERROR_CONSTRUCTOR ( class)
Value:
OT_ERROR_BASE(MK(MkKernelThreadState).InitError, "'" #class "' constructor return 'NULL' pointer")
#define OT_ERROR_BASE(err, str)

Definition at line 547 of file LibMkKernel_py.h.

547#define OT_ERROR_CONSTRUCTOR(class) \
548 OT_ERROR_BASE(MK(MkKernelThreadState).InitError, "'" #class "' constructor return 'NULL' pointer")

◆ OT_ERROR_LNG_2_META

#define OT_ERROR_LNG_2_META ( m)
Value:
MK(MkExceptionC_Catch) (OT_Prefix_CALL m, NULL, __func__)
#define OT_Prefix_CALL

Definition at line 569 of file LibMkKernel_py.h.

◆ OT_ERROR_LNG_RETURN

#define OT_ERROR_LNG_RETURN   return NULL

Definition at line 532 of file LibMkKernel_py.h.

◆ OT_ERROR_META_2_LNG

#define OT_ERROR_META_2_LNG ( m)
Value:
MK(MkExceptionC_Raise) (OT_Prefix_CALL m,__doc,__FILE__,__LINE__)
#define __doc

Definition at line 568 of file LibMkKernel_py.h.

◆ OT_ERROR_NUMARGS

#define OT_ERROR_NUMARGS ( ...)
Value:
#define WrongNumArgs(...)

Definition at line 578 of file LibMkKernel_py.h.

◆ OT_ERROR_SOFT_CONSTRUCTOR

#define OT_ERROR_SOFT_CONSTRUCTOR ( class)
Value:
{ \
OT_ERROR_BASE(MK(MkKernelThreadState).InitSoftError, "'" #class "' soft constructor return 'NULL' pointer"); \
}

Definition at line 543 of file LibMkKernel_py.h.

543#define OT_ERROR_SOFT_CONSTRUCTOR(class) { \
544 OT_ERROR_BASE(MK(MkKernelThreadState).InitSoftError, "'" #class "' soft constructor return 'NULL' pointer"); \
545}

◆ OT_ERROR_TYPE

#define OT_ERROR_TYPE ( str)
Value:
PyErr_SetString(PyExc_TypeError, str);

Definition at line 550 of file LibMkKernel_py.h.

550#define OT_ERROR_TYPE(str) \
551 PyErr_SetString(PyExc_TypeError, str);

◆ OT_ERROR_VAR_DEFAULT

#define OT_ERROR_VAR_DEFAULT ( ...)
Value:
PyErr_Format(PyExc_SystemError,__VA_ARGS__)

Definition at line 581 of file LibMkKernel_py.h.

◆ OT_FRAME_CLEANUP

#define OT_FRAME_CLEANUP   if (frame != NULL) Py_CLEAR(frame)

Definition at line 459 of file LibMkKernel_py.h.

◆ OT_GET__ME_REF_MkBinaryR

#define OT_GET__ME_REF_MkBinaryR ( b)
Value:
BIN2VAL(b.data,b.size)
#define BIN2VAL(ptr, len)

Definition at line 898 of file LibMkKernel_py.h.

◆ OT_GET__ME_REF_MkStringR

#define OT_GET__ME_REF_MkStringR ( b)
Value:
STR2VAL(b.ptr,b.len)
#define STR2VAL(ptr, len)

Definition at line 922 of file LibMkKernel_py.h.

◆ OT_GET_CALL_FILE

#define OT_GET_CALL_FILE   MK(Get_Call_Script)(0,&frame)

Definition at line 763 of file LibMkKernel_py.h.

◆ OT_GET_CALL_LINE

#define OT_GET_CALL_LINE   MK(Get_Call_Line)(0,&frame)

Definition at line 764 of file LibMkKernel_py.h.

◆ OT_GET_CALL_PROC

#define OT_GET_CALL_PROC   MK(Get_Call_Proc)(0,&frame)

Definition at line 762 of file LibMkKernel_py.h.

◆ OT_GET_CONSTR_NAME

#define OT_GET_CONSTR_NAME ( ctor)
Value:
((PyTypeObject*)ctor)->tp_name

Definition at line 680 of file LibMkKernel_py.h.

◆ OT_LNG_ARRAY_IS

#define OT_LNG_ARRAY_IS ( obj)
Value:
PyObject_TypeCheck(obj,&PyList_Type)

Definition at line 614 of file LibMkKernel_py.h.

◆ OT_LNG_ENUM_NAME

#define OT_LNG_ENUM_NAME ( enm)
Value:
#define OT_LNG_NAME_FROM_CLASS(cls)

Definition at line 621 of file LibMkKernel_py.h.

◆ OT_LNG_I32_IS

#define OT_LNG_I32_IS ( obj)
Value:
(CHECK_LONG(obj) || CHECK_STRING(obj))

Definition at line 616 of file LibMkKernel_py.h.

◆ OT_LNG_IS_NULL

#define OT_LNG_IS_NULL ( val)
Value:
Py_IsNone(val)

Definition at line 118 of file LibMkKernel_py.h.

◆ OT_LNG_LONG_IS

#define OT_LNG_LONG_IS ( obj)
Value:
(CHECK_LONG(obj) || CHECK_STRING(obj))

Definition at line 615 of file LibMkKernel_py.h.

◆ OT_LNG_NAME_FROM_CLASS

#define OT_LNG_NAME_FROM_CLASS ( cls)
Value:
(cls)->tp_name

Definition at line 121 of file LibMkKernel_py.h.

◆ OT_LNG_NULL

#define OT_LNG_NULL   Py_None

Definition at line 116 of file LibMkKernel_py.h.

◆ OT_LNG_NULL_IS

#define OT_LNG_NULL_IS ( obj)
Value:
(obj == Py_None)

Definition at line 613 of file LibMkKernel_py.h.

◆ OT_LNG_OBJ_CLASS_IS

#define OT_LNG_OBJ_CLASS_IS ( val,
cls )
Value:
PyObject_TypeCheck(val,cls)

Definition at line 127 of file LibMkKernel_py.h.

◆ OT_LNG_OBJ_CLASSNAME

#define OT_LNG_OBJ_CLASSNAME ( obj)
Value:
Py_TYPE(obj)->tp_name

Definition at line 123 of file LibMkKernel_py.h.

◆ OT_LNG_OBJ_ENUM_IS

#define OT_LNG_OBJ_ENUM_IS ( obj,
enm )
Value:
PyObject_TypeCheck((obj),(enm))

Definition at line 620 of file LibMkKernel_py.h.

◆ OT_LNG_OBJECT_IS

#define OT_LNG_OBJECT_IS ( objV)
Value:
PyObject_TypeCheck(objV,MkObjectC_lngO)
#define MkObjectC_lngO

Definition at line 131 of file LibMkKernel_py.h.

◆ OT_LNG_OBJV

#define OT_LNG_OBJV ( skip)
Value:

Definition at line 125 of file LibMkKernel_py.h.

◆ OT_LNG_RETURN

#define OT_LNG_RETURN ( ret,
cmd )
Value:
ret=cmd

Definition at line 119 of file LibMkKernel_py.h.

◆ OT_LNG_SKIP_TYPE

#define OT_LNG_SKIP_TYPE   Py_ssize_t

Definition at line 618 of file LibMkKernel_py.h.

◆ OT_LNG_STRN_POST

#define OT_LNG_STRN_POST ( str,
obj )
Value:
Py_CLEAR(__##str)

Definition at line 634 of file LibMkKernel_py.h.

◆ OT_LNG_STRN_PRE

#define OT_LNG_STRN_PRE ( str,
obj )
Value:
PyObject *__##str=PyObject_Str(obj); \
LngErrorCheckN(__##str); \
MK_STRN str=PyUnicode_AsUTF8(__##str)
const MK_STRB * MK_STRN

Definition at line 625 of file LibMkKernel_py.h.

625#define OT_LNG_STRN_PRE(str,obj) PyObject *__##str=PyObject_Str(obj); \
626 LngErrorCheckN(__##str); \
627 MK_STRN str=PyUnicode_AsUTF8(__##str)

◆ OT_LNG_STRN_PRE_AND_LEN

#define OT_LNG_STRN_PRE_AND_LEN ( str,
_len,
obj )
Value:
PyObject *__##str=PyObject_Str(obj); \
LngErrorCheckN(__##str); \
MK_STRN str=PyUnicode_AsUTF8AndSize(__##str,&_len)

Definition at line 629 of file LibMkKernel_py.h.

629#define OT_LNG_STRN_PRE_AND_LEN(str,_len,obj) \
630 PyObject *__##str=PyObject_Str(obj); \
631 LngErrorCheckN(__##str); \
632 MK_STRN str=PyUnicode_AsUTF8AndSize(__##str,&_len)

◆ OT_LNG_UNDEF

#define OT_LNG_UNDEF   Py_None

Definition at line 117 of file LibMkKernel_py.h.

◆ OT_MK_CALL_0

#define OT_MK_CALL_0 ( obj,
cls,
meth,
ret )
Value:
ret=MK(cls##_##meth)((cls##_Obj*)cls##_constr(obj),MK(MkKernelThreadState).emptyTuple);

Definition at line 527 of file LibMkKernel_py.h.

◆ OT_MODULE_STATE

#define OT_MODULE_STATE ( Ns)
Value:
((NS(ModuleStateS)*)MK_RT_REF.mkThreadData)
#define NS(n)
#define MK_RT_REF

Definition at line 814 of file LibMkKernel_py.h.

◆ OT_NEW_Mk_enum_OBJ

#define OT_NEW_Mk_enum_OBJ ( typ,
val )
Value:
PyObject_CallFunction((PyObject*)(Mk ## typ ##_lngO),"i",val)

Definition at line 697 of file LibMkKernel_py.h.

◆ OT_OBJ_TO_CLASS

#define OT_OBJ_TO_CLASS ( ptr)
Value:
ptr

Definition at line 128 of file LibMkKernel_py.h.

◆ OT_OBJ_TO_ENUM

#define OT_OBJ_TO_ENUM ( str)
Value:
str ## _lngO

Definition at line 129 of file LibMkKernel_py.h.

◆ OT_OBJECT_DELETE

#define OT_OBJECT_DELETE ( self)
Value:
MK(AtomDelete)(MK_RT_CALL hdl);
#define MK_RT_CALL

Definition at line 812 of file LibMkKernel_py.h.

◆ OT_OBJECT_DELETE_HARD

#define OT_OBJECT_DELETE_HARD ( self)
Value:
MK(AtomDeleteHard)(MK_RT_CALL self);

Definition at line 813 of file LibMkKernel_py.h.

◆ OT_OBJECT_DISPOSE

#define OT_OBJECT_DISPOSE ( self)
Value:
MK(AtomDispose)(MK_RT_CALL hdl);

Definition at line 811 of file LibMkKernel_py.h.

◆ OT_Prefix_ARGS

#define OT_Prefix_ARGS   MK_RT_ARGS

Definition at line 604 of file LibMkKernel_py.h.

◆ OT_Prefix_CALL

#define OT_Prefix_CALL   MK_RT_CALL

Definition at line 605 of file LibMkKernel_py.h.

◆ OT_ProcRet

#define OT_ProcRet   PyObject*

Definition at line 93 of file LibMkKernel_py.h.

◆ OT_REF_DECR_AND_NULL

#define OT_REF_DECR_AND_NULL ( _obj)
Value:
Py_CLEAR(_obj)

Definition at line 212 of file LibMkKernel_py.h.

◆ OT_REF_INCR

#define OT_REF_INCR ( _obj)
Value:
Py_INCREF(_obj)

Definition at line 210 of file LibMkKernel_py.h.

◆ OT_REF_INCR_AND_RETURN

#define OT_REF_INCR_AND_RETURN ( _obj)
Value:
({ OT_REF_INCR(_obj); _obj;})
#define OT_REF_INCR(_obj)

Definition at line 211 of file LibMkKernel_py.h.

◆ OT_RET_SELF

#define OT_RET_SELF   (Py_NewRef(OT_SELF))

Definition at line 500 of file LibMkKernel_py.h.

◆ OT_retObj_APPEND

#define OT_retObj_APPEND ( var)
Value:
PyList_Append(retObj,var);

Definition at line 507 of file LibMkKernel_py.h.

◆ OT_retObj_RETURN

#define OT_retObj_RETURN   return ((PyObject*)retObj);

Definition at line 508 of file LibMkKernel_py.h.

◆ OT_retObj_SET

#define OT_retObj_SET ( val)
Value:
retObj = (val);

Definition at line 502 of file LibMkKernel_py.h.

◆ OT_retObj_SET_BFL

#define OT_retObj_SET_BFL ( nat)
Value:
retObj = MK(MkBufferListC_ObjNew) (MK_RT_CALL &MK(MkBufferListCR),nat)

Definition at line 237 of file LibMkKernel_py.h.

◆ OT_retObj_SET_BIN

#define OT_retObj_SET_BIN ( nat,
len )
Value:
retObj = BIN2VAL(nat,len);

Definition at line 517 of file LibMkKernel_py.h.

◆ OT_retObj_SET_BOL

#define OT_retObj_SET_BOL ( nat)
Value:
retObj = BOL2VAL(nat);
#define BOL2VAL(nat)

Definition at line 510 of file LibMkKernel_py.h.

◆ OT_retObj_SET_BUF

#define OT_retObj_SET_BUF ( nat)
Value:
retObj = MK(MkBufferC_ObjNew) (MK_RT_CALL &MK(MkBufferCR),nat)

Definition at line 270 of file LibMkKernel_py.h.

◆ OT_retObj_SET_BUS

#define OT_retObj_SET_BUS ( nat)
Value:
retObj = MK(MkBufferStreamC_ObjNew) (MK_RT_CALL &MK(MkBufferStreamCR),nat)

Definition at line 303 of file LibMkKernel_py.h.

◆ OT_retObj_SET_DBL

#define OT_retObj_SET_DBL ( nat)
Value:
retObj = DBL2VAL(nat);
#define DBL2VAL(nat)

Definition at line 516 of file LibMkKernel_py.h.

◆ OT_retObj_SET_ERR

#define OT_retObj_SET_ERR ( nat)
Value:
retObj = MK(MkErrorC_ObjNew) (MK_RT_CALL &MK(MkErrorCR),nat)

Definition at line 336 of file LibMkKernel_py.h.

◆ OT_retObj_SET_Error

#define OT_retObj_SET_Error   retObj = NULL;

Definition at line 505 of file LibMkKernel_py.h.

◆ OT_retObj_SET_FLT

#define OT_retObj_SET_FLT ( nat)
Value:
retObj = FLT2VAL(nat);
#define FLT2VAL(nat)

Definition at line 515 of file LibMkKernel_py.h.

◆ OT_retObj_SET_HDL

#define OT_retObj_SET_HDL ( nat)
Value:
retObj = HDL2VAL(nat);
#define HDL2VAL(nat)

Definition at line 521 of file LibMkKernel_py.h.

◆ OT_retObj_SET_I16

#define OT_retObj_SET_I16 ( nat)
Value:
retObj = I162VAL(nat);
#define I162VAL(nat)

Definition at line 512 of file LibMkKernel_py.h.

◆ OT_retObj_SET_I32

#define OT_retObj_SET_I32 ( nat)
Value:
retObj = INT2VAL(nat);
#define INT2VAL(nat)

Definition at line 513 of file LibMkKernel_py.h.

◆ OT_retObj_SET_I64

#define OT_retObj_SET_I64 ( nat)
Value:
retObj = I642VAL(nat);
#define I642VAL(nat)

Definition at line 514 of file LibMkKernel_py.h.

◆ OT_retObj_SET_I8

#define OT_retObj_SET_I8 ( nat)
Value:
retObj = I82VAL(nat);
#define I82VAL(nat)

Definition at line 511 of file LibMkKernel_py.h.

◆ OT_retObj_SET_LFL

#define OT_retObj_SET_LFL ( nat)
Value:
retObj = MK(MkLogFileC_ObjNew) (MK_RT_CALL &MK(MkLogFileCR),nat)

Definition at line 369 of file LibMkKernel_py.h.

◆ OT_retObj_SET_List

#define OT_retObj_SET_List   retObj = PyList_New(0);

Definition at line 506 of file LibMkKernel_py.h.

◆ OT_retObj_SET_LONG

#define OT_retObj_SET_LONG ( nat)
Value:
retObj = LONG2VAL(nat);
#define LONG2VAL(nat)

Definition at line 520 of file LibMkKernel_py.h.

◆ OT_retObj_SET_None

#define OT_retObj_SET_None   retObj = Py_NewRef(Py_None);

Definition at line 503 of file LibMkKernel_py.h.

◆ OT_retObj_SET_OBJ

#define OT_retObj_SET_OBJ ( nat)
Value:
retObj = MK(MkObjectC_ObjNew) (MK_RT_CALL &MK(MkObjectCR),nat)

Definition at line 402 of file LibMkKernel_py.h.

◆ OT_retObj_SET_RT

#define OT_retObj_SET_RT ( nat)
Value:
retObj = MK(MkRuntimeC_ObjNew) (MK_RT_CALL &MK(MkRuntimeCR),nat)

Definition at line 435 of file LibMkKernel_py.h.

◆ OT_retObj_SET_STR

#define OT_retObj_SET_STR ( nat)
Value:
retObj = STRN2VAL(nat);
#define STRN2VAL(nat)

Definition at line 518 of file LibMkKernel_py.h.

◆ OT_retObj_SET_STRN

#define OT_retObj_SET_STRN ( nat)
Value:
retObj = STRN2VAL(nat);

Definition at line 519 of file LibMkKernel_py.h.

◆ OT_SELF

#define OT_SELF   ((PyObject*)self)

Definition at line 480 of file LibMkKernel_py.h.

◆ OT_SELF_O

#define OT_SELF_O ( o)
Value:
((PyObject*)((*o).self))

Definition at line 482 of file LibMkKernel_py.h.

◆ OT_SELF_X

#define OT_SELF_X ( x)
Value:
((PyObject*)(MkOBJ_R(x).self))
#define MkOBJ_R(x)

Definition at line 481 of file LibMkKernel_py.h.

◆ OT_SETUP_ARGS_ALL

#define OT_SETUP_ARGS_ALL ( d)
Value:
PyObject *retObj=NULL; \
Py_ssize_t __skip=0; \
MK_UNUSED static const MK_STRN __doc=d; \
MK_UNUSED PyObject* frame=NULL; \
#define MK_UNUSED

Definition at line 453 of file LibMkKernel_py.h.

453#define OT_SETUP_ARGS_ALL(d) \
454 PyObject *retObj=NULL; \
455 Py_ssize_t __skip=0; \
456 MK_UNUSED static const MK_STRN __doc=d; \
457 MK_UNUSED PyObject* frame=NULL; \
458

◆ OT_SETUP_CONSTRUCTOR_ARGS

#define OT_SETUP_CONSTRUCTOR_ARGS ( ...)
Value:
OT_SETUP_VARARGS(__VA_ARGS__)
#define OT_SETUP_VARARGS(min, max, d)

Definition at line 466 of file LibMkKernel_py.h.

◆ OT_SETUP_hdl_tmpl

#define OT_SETUP_hdl_tmpl ( cls)
Value:
typeof(self->hdl) hdl = self->hdl; \
if (hdl == NULL) { \
OT_ERROR_VAR_DEFAULT("'%s' hdl is NULL",OT_LNG_OBJ_CLASSNAME(self)); \
goto error; \
} \
SetupRtFromObj_XN(hdl); \
#define OT_LNG_OBJ_CLASSNAME(obj)

Definition at line 488 of file LibMkKernel_py.h.

488#define OT_SETUP_hdl_tmpl(cls) \
489 typeof(self->hdl) hdl = self->hdl; \
490 if (hdl == NULL) { \
491 OT_ERROR_VAR_DEFAULT("'%s' hdl is NULL",OT_LNG_OBJ_CLASSNAME(self)); \
492 goto error; \
493 } \
494 SetupRtFromObj_XN(hdl); \
495

◆ OT_SETUP_hdl_tmpl__null_allow

#define OT_SETUP_hdl_tmpl__null_allow ( cls)
Value:
typeof(self->hdl) hdl = self->hdl; \
#define SetupRtFromObj_X(hdl)
Definition Sq3BlobC_py.c:37

Definition at line 496 of file LibMkKernel_py.h.

496#define OT_SETUP_hdl_tmpl__null_allow(cls) \
497 typeof(self->hdl) hdl = self->hdl; \
498 SetupRtFromObj_X(hdl); \
499

◆ OT_SETUP_NOARG

#define OT_SETUP_NOARG ( d)
Value:
Py_ssize_t objc=0; \
OT_CHECK_NUM_ARGS(0,0); \
#define OT_SETUP_ARGS_ALL(d)

Definition at line 473 of file LibMkKernel_py.h.

473#define OT_SETUP_NOARG(d) \
474 OT_SETUP_ARGS_ALL(d) \
475 Py_ssize_t objc=0; \
476 OT_CHECK_NUM_ARGS(0,0); \
477

◆ OT_SETUP_OBJ

#define OT_SETUP_OBJ ( o,
v )
Value:
PyObject* o=(PyObject*)v;

Definition at line 478 of file LibMkKernel_py.h.

◆ OT_SETUP_ONEARG

#define OT_SETUP_ONEARG ( d)
Value:
Py_ssize_t objc=1; \
OT_CHECK_NUM_ARGS(1,1); \

Definition at line 468 of file LibMkKernel_py.h.

468#define OT_SETUP_ONEARG(d) \
469 OT_SETUP_ARGS_ALL(d) \
470 Py_ssize_t objc=1; \
471 OT_CHECK_NUM_ARGS(1,1); \
472

◆ OT_SETUP_VARARGS

#define OT_SETUP_VARARGS ( min,
max,
d )
Value:
Py_ssize_t objc=PyTuple_GET_SIZE(objv); \
OT_CHECK_NUM_ARGS(min,max); \

Definition at line 461 of file LibMkKernel_py.h.

461#define OT_SETUP_VARARGS(min,max,d) \
462 OT_SETUP_ARGS_ALL(d) \
463 Py_ssize_t objc=PyTuple_GET_SIZE(objv); \
464 OT_CHECK_NUM_ARGS(min,max); \
465

◆ OT_TMP_BFL_OBJ

#define OT_TMP_BFL_OBJ ( val)
Value:
MK(MkBufferListC_ObjNew)(MK_RT_CALL &MK(MkBufferListCR),val)

Definition at line 240 of file LibMkKernel_py.h.

◆ OT_TMP_BIN_OBJ

#define OT_TMP_BIN_OBJ ( val,
len )
Value:
BIN2VAL(val,len)

Definition at line 599 of file LibMkKernel_py.h.

◆ OT_TMP_BOL_OBJ

#define OT_TMP_BOL_OBJ ( val)
Value:
BOL2VAL(val)

Definition at line 592 of file LibMkKernel_py.h.

◆ OT_TMP_BUF_OBJ

#define OT_TMP_BUF_OBJ ( val)
Value:
MK(MkBufferC_ObjNew)(MK_RT_CALL &MK(MkBufferCR),val)

Definition at line 273 of file LibMkKernel_py.h.

◆ OT_TMP_BUS_OBJ

#define OT_TMP_BUS_OBJ ( val)
Value:
MK(MkBufferStreamC_ObjNew)(MK_RT_CALL &MK(MkBufferStreamCR),val)

Definition at line 306 of file LibMkKernel_py.h.

◆ OT_TMP_DBL_OBJ

#define OT_TMP_DBL_OBJ ( val)
Value:
DBL2VAL(val)

Definition at line 598 of file LibMkKernel_py.h.

◆ OT_TMP_ERR_OBJ

#define OT_TMP_ERR_OBJ ( val)
Value:
MK(MkErrorC_ObjNew)(MK_RT_CALL &MK(MkErrorCR),val)

Definition at line 339 of file LibMkKernel_py.h.

◆ OT_TMP_FLT_OBJ

#define OT_TMP_FLT_OBJ ( val)
Value:
FLT2VAL(val)

Definition at line 597 of file LibMkKernel_py.h.

◆ OT_TMP_I16_OBJ

#define OT_TMP_I16_OBJ ( val)
Value:
I162VAL(val)

Definition at line 594 of file LibMkKernel_py.h.

◆ OT_TMP_I32_OBJ

#define OT_TMP_I32_OBJ ( val)
Value:
INT2VAL(val)

Definition at line 595 of file LibMkKernel_py.h.

◆ OT_TMP_I64_OBJ

#define OT_TMP_I64_OBJ ( val)
Value:
I642VAL(val)

Definition at line 596 of file LibMkKernel_py.h.

◆ OT_TMP_I8_OBJ

#define OT_TMP_I8_OBJ ( val)
Value:
I82VAL(val)

Definition at line 593 of file LibMkKernel_py.h.

◆ OT_TMP_LFL_OBJ

#define OT_TMP_LFL_OBJ ( val)
Value:
MK(MkLogFileC_ObjNew)(MK_RT_CALL &MK(MkLogFileCR),val)

Definition at line 372 of file LibMkKernel_py.h.

◆ OT_TMP_OBJ_OBJ

#define OT_TMP_OBJ_OBJ ( val)
Value:
MK(MkObjectC_ObjNew)(MK_RT_CALL &MK(MkObjectCR),val)

Definition at line 405 of file LibMkKernel_py.h.

◆ OT_TMP_RT_OBJ

#define OT_TMP_RT_OBJ ( val)
Value:
MK(MkRuntimeC_ObjNew)(MK_RT_CALL &MK(MkRuntimeCR),val)

Definition at line 438 of file LibMkKernel_py.h.

◆ OT_TMP_STR_OBJ

#define OT_TMP_STR_OBJ ( val)
Value:

Definition at line 600 of file LibMkKernel_py.h.

◆ OT_TUPLE_GET_ITEM

#define OT_TUPLE_GET_ITEM ( _obj,
_skip )
Value:
({typeof(_skip) _idx=(_skip);(PyTuple_Check(_obj)?PyTuple_GET_ITEM((_obj),(_idx)):(_obj));})

Definition at line 638 of file LibMkKernel_py.h.

◆ OtClass_ARGS

#define OtClass_ARGS   PyObject *class, PyObject *objv

Definition at line 98 of file LibMkKernel_py.h.

◆ OtClass_ARGS_CALL

#define OtClass_ARGS_CALL   class, objv

Definition at line 99 of file LibMkKernel_py.h.

◆ OtErrorCheckLng

#define OtErrorCheckLng ( PROC)
Value:
if ((PROC) < 0) goto error;

Definition at line 572 of file LibMkKernel_py.h.

◆ printLngObj

#define printLngObj ( o)
Value:
printXLngObj(NULL,(o))
#define printXLngObj(x, o)

Definition at line 968 of file LibMkKernel_py.h.

◆ printLngObj2

#define printLngObj2 ( o)
Value:
#define printXLngObj2(x, o)

Definition at line 975 of file LibMkKernel_py.h.

◆ printObj1

#define printObj1 ( x,
o )
Value:

Definition at line 977 of file LibMkKernel_py.h.

◆ printRef

#define printRef ( s,
o )
Value:
printV(s ": " #o "<%p>, refCount<%li>\n", o, Py_REFCNT(o));

Definition at line 978 of file LibMkKernel_py.h.

◆ printXLngObj

#define printXLngObj ( x,
o )
Value:
printXSObj(x,#o,(o!=NULL?(PyObject*)o:(PyObject*)Py_None))
#define printXSObj(ctx, s, o)

Definition at line 967 of file LibMkKernel_py.h.

◆ printXLngObj2

#define printXLngObj2 ( x,
o )
Value:
printXSObj2(x,#o,(o!=NULL?(PyObject*)o:(PyObject*)Py_None))
#define printXSObj2(ctx, s, o)

Definition at line 974 of file LibMkKernel_py.h.

◆ printXRef

#define printXRef ( x,
s,
o )
Value:
{\
if (o == NULL) {\
printXLV(x,s ": " #o "<%p>, refCount<%li>\n", NULL, 0L);\
} else {\
printXLV(x,s ": " #o "<%p>, refCount<%li>\n", o, Py_REFCNT(o));\
} \
} while (0);

Definition at line 979 of file LibMkKernel_py.h.

979 #define printXRef(x,s,o) {\
980 if (o == NULL) {\
981 printXLV(x,s ": " #o "<%p>, refCount<%li>\n", NULL, 0L);\
982 } else {\
983 printXLV(x,s ": " #o "<%p>, refCount<%li>\n", o, Py_REFCNT(o));\
984 } \
985 } while (0);

◆ printXSObj

#define printXSObj ( ctx,
s,
o )
Value:
printXV(ctx, formatObj_fmt, formatObj_args(s,o));

Definition at line 966 of file LibMkKernel_py.h.

◆ printXSObj2

#define printXSObj2 ( ctx,
s,
o )
Value:
printXV(ctx, formatObj2_fmt, formatObj2_args(s,o));
#define formatObj2_fmt
#define formatObj2_args(s, o)

Definition at line 973 of file LibMkKernel_py.h.

◆ SETUP_ARGS

#define SETUP_ARGS   MK_RT_ARGS Py_ssize_t objc, PyObject *objv

Definition at line 607 of file LibMkKernel_py.h.

◆ SETUP_ARGS_CALL

#define SETUP_ARGS_CALL   MK_RT_CALL objc, objv

Definition at line 608 of file LibMkKernel_py.h.

◆ STR2VAL

#define STR2VAL ( ptr,
len )
Value:
MK(STR2VAL)(ptr,len)

Definition at line 858 of file LibMkKernel_py.h.

◆ STRN2VAL

#define STRN2VAL ( nat)
Value:
MK(STRN2VAL)(nat)

Definition at line 857 of file LibMkKernel_py.h.

◆ VAL2BFL

#define VAL2BFL ( val)
Value:

Definition at line 247 of file LibMkKernel_py.h.

◆ VAL2BUF

#define VAL2BUF ( val)
Value:

Definition at line 280 of file LibMkKernel_py.h.

◆ VAL2BUS

#define VAL2BUS ( val)
Value:

Definition at line 313 of file LibMkKernel_py.h.

◆ VAL2ERR

#define VAL2ERR ( val)
Value:

Definition at line 346 of file LibMkKernel_py.h.

◆ VAL2LFL

#define VAL2LFL ( val)
Value:

Definition at line 379 of file LibMkKernel_py.h.

◆ VAL2MkBinaryR

#define VAL2MkBinaryR ( _obj)
Value:
({ \
PyObject *obj=_obj; \
MK_BIN bin=NULL; \
MK_SIZE len=0; \
if (obj != Py_None) { \
if (PyByteArray_Check(obj)) { \
bin = (MK_BIN)PyByteArray_AS_STRING(obj); \
len = (MK_SIZE)PyByteArray_GET_SIZE(obj); \
} else { \
PyErr_SetString(PyExc_TypeError, "parameter '" #_obj "' must be a 'byte-array'."); \
goto error; \
} \
} \
MkBinaryCreate(len,bin); \
})

Definition at line 899 of file LibMkKernel_py.h.

899#define VAL2MkBinaryR(_obj) ({ \
900 PyObject *obj=_obj; \
901 MK_BIN bin=NULL; \
902 MK_SIZE len=0; \
903 if (obj != Py_None) { \
904 if (PyByteArray_Check(obj)) { \
905 bin = (MK_BIN)PyByteArray_AS_STRING(obj); \
906 len = (MK_SIZE)PyByteArray_GET_SIZE(obj); \
907 } else { \
908 PyErr_SetString(PyExc_TypeError, "parameter '" #_obj "' must be a 'byte-array'."); \
909 goto error; \
910 } \
911 } \
912 MkBinaryCreate(len,bin); \
913})

◆ VAL2MkStringR

#define VAL2MkStringR ( _obj)
Value:
({ \
PyObject *obj=_obj; \
const char *str=NULL; \
Py_ssize_t len=0; \
if (obj != Py_None) { \
if (PyUnicode_Check(obj)) { \
str=PyUnicode_AsUTF8AndSize(obj,&len); \
} else { \
OT_LNG_STRN_PRE_AND_LEN(strC,len,obj); \
/* NO function because of strdupa */ \
str=strdupa(strC); \
OT_LNG_STRN_POST(strC,obj); \
} \
} \
MkStringCreate((MK_NUM)len,str); \
})
int32_t MK_NUM

Definition at line 923 of file LibMkKernel_py.h.

923#define VAL2MkStringR(_obj) ({ \
924 PyObject *obj=_obj; \
925 const char *str=NULL; \
926 Py_ssize_t len=0; \
927 if (obj != Py_None) { \
928 if (PyUnicode_Check(obj)) { \
929 str=PyUnicode_AsUTF8AndSize(obj,&len); \
930 } else { \
931 OT_LNG_STRN_PRE_AND_LEN(strC,len,obj); \
932 /* NO function because of strdupa */ \
933 str=strdupa(strC); \
934 OT_LNG_STRN_POST(strC,obj); \
935 } \
936 } \
937 MkStringCreate((MK_NUM)len,str); \
938})

◆ VAL2MNG

#define VAL2MNG ( val)
Value:
(MK_MNG)((MkObjectC_Obj*) val)->hdl
MK_PTRB * MK_MNG

Definition at line 863 of file LibMkKernel_py.h.

◆ VAL2OBJ

#define VAL2OBJ ( val)
Value:
((MkObjectC_Obj*) (val))->hdl

Definition at line 412 of file LibMkKernel_py.h.

◆ VAL2RT

#define VAL2RT ( val)
Value:

Definition at line 445 of file LibMkKernel_py.h.

Typedef Documentation

◆ MkBufferC_Obj

typedef struct MkBufferC_Obj MkBufferC_Obj

◆ MkBufferListC_Obj

typedef struct MkBufferListC_Obj MkBufferListC_Obj

◆ MkBufferStreamC_Obj

typedef struct MkBufferStreamC_Obj MkBufferStreamC_Obj

◆ MkCallS

typedef struct MkCallS MkCallS

◆ MkErrorC_Obj

typedef struct MkErrorC_Obj MkErrorC_Obj

◆ MkLogFileC_Obj

typedef struct MkLogFileC_Obj MkLogFileC_Obj

◆ MkObjectC_Obj

typedef struct MkObjectC_Obj MkObjectC_Obj

◆ MkRuntimeC_Obj

typedef struct MkRuntimeC_Obj MkRuntimeC_Obj

◆ OT_CLS_T

typedef PyTypeObject* OT_CLS_T

Definition at line 106 of file LibMkKernel_py.h.

◆ OT_CLS_TR

typedef PyTypeObject OT_CLS_TR

Definition at line 105 of file LibMkKernel_py.h.

◆ OT_ENUM_T

typedef PyTypeObject* OT_ENUM_T

Definition at line 104 of file LibMkKernel_py.h.

◆ OT_LNG_OBJ_T

Definition at line 449 of file LibMkKernel_py.h.

◆ OT_OBJ_T

typedef PyObject* OT_OBJ_T

Definition at line 103 of file LibMkKernel_py.h.

Function Documentation

◆ OT_PyObjectOrNone()

static PyObject * OT_PyObjectOrNone ( MK_MNG mng)
inlinestatic

Definition at line 484 of file LibMkKernel_py.h.

484 {
485 return (MkObjCheck(mng) ? (PyObject*) (((MK_OBJ)mng)->self) : Py_None);
486}
static bool MkObjCheck(MK_MNGN mng)

◆ PyC2O()

static PyObject * PyC2O ( MK_STRN v)
inlinestatic

Definition at line 838 of file LibMkKernel_py.h.

838 {
839 return (v?PyUnicode_FromString(v):Py_NewRef(Py_None));
840}

◆ pymkkernel_AtomCreate()

static PyObject * pymkkernel_AtomCreate ( MK_RT mkrt,
OT_CLS_T type,
MK_OBJ obj )
inlinestatic

Definition at line 1051 of file LibMkKernel_py.h.

1055 {
1056 MkObjectC_Obj *retObj = (MkObjectC_Obj*) (type)->tp_alloc(type, 0);
1057
1058 if (obj) {
1059 retObj->hdl = obj;
1060 MkRefIncr(obj);
1061 MkSelfSet (obj, (void*) retObj, NULL);
1062 }
1063
1064#if LOG_REF
1065 printLngObj(retObj);
1066#endif
1067
1068// mk_dbg_color_ln(MK_COLOR_PURPLE,"obj<%p>, retObj<%p>, retObj->hdl<%p>", obj, retObj, retObj->hdl);
1069
1070 return (PyObject*)retObj;
1071}
#define printLngObj(o)
static void MkSelfSet(MK_OBJ const obj, MK_PTR const self, MK_PTR const env)
static void MkRefIncr(MK_OBJ obj)
PyObject_HEAD MK_OBJ hdl

◆ pymkkernel_AtomDelete()

static void pymkkernel_AtomDelete ( MK_RT mkrt,
MK_MNG mng )
inlinestatic

Definition at line 1017 of file LibMkKernel_py.h.

1018{
1019 // check if hdl is valid
1020 MK_OBJ obj = MkObj(mng);
1021 // delete link between PYTHON and MQ
1022 check_NULL(obj) return;
1023 // delete link between META and PYTHON
1025}
#define check_NULL(E)
static MK_OBJ MkObj(MK_MNG mng)
#define MkRefDecrWithUnlinkSelf(...)

◆ pymkkernel_AtomDeleteHard()

static void pymkkernel_AtomDeleteHard ( MK_RT mkrt,
OT_OBJ_T selfO )
inlinestatic

Definition at line 1028 of file LibMkKernel_py.h.

1029{
1030 if (selfO==NULL || _Py_IsFinalizing()) return;
1031 MkObjectC_Obj *self = (MkObjectC_Obj*) selfO;
1032
1033#ifdef LOG_REF
1034 printLngObj(self)
1035#endif
1036
1037 // check if hdl is valid
1038 MK_OBJ obj = MkObj(self->hdl);
1039 check_NULL(obj) return;
1040
1041 // delete link between SELF and META
1042 self->hdl = NULL;
1043
1044 // delete link between META and SELF
1046
1047 // cleanup python object
1048 Py_CLEAR(selfO);
1049}
#define MkRefDecrWithoutSelf(...)

◆ pymkkernel_AtomDispose()

static void pymkkernel_AtomDispose ( MK_RT mkrt,
MK_MNG mng )
inlinestatic

Definition at line 1005 of file LibMkKernel_py.h.

1006{
1007 // check if hdl is valid
1008 MK_OBJ obj = MkObj(mng);
1009 // delete link between PYTHON and MQ
1010 check_NULL(obj) return;
1011
1012 // delete link between MQ and PYTHON
1013 obj = MkRefDecrWithUnlinkSelf(obj);
1014}

◆ pymkkernel_AtomObjNew()

static PyObject * pymkkernel_AtomObjNew ( MK_RT mkrt,
OT_CLS_T type,
MK_OBJ obj )
inlinestatic

Definition at line 1073 of file LibMkKernel_py.h.

1077 {
1078 if (obj == NULL) {
1079 if (PyErr_Occurred()) {
1080 return NULL;
1081 } else {
1082 Py_RETURN_NONE;
1083 //PyErr_Format(PyExc_ValueError, "'%s' constructor return a NULL pointer", type->tp_name);
1084 }
1085 }
1086
1087 #define __doc "AtomObjNew"
1088 MK_PTR selfO = NULL;
1089 MkErrorC_Check(obj, MkSelfNew(obj,&selfO,NULL))
1090 return Py_NewRef((OT_OBJ_T) selfO);
1091 #undef __doc
1092error:
1093 return NULL;
1094}
#define MkErrorC_Check(mng, PROC)
MK_PTRB * MK_PTR
#define MkSelfNew(...)

◆ pymkkernel_CallFree()

static void pymkkernel_CallFree ( MK_CBP * callP)
inlinestatic

Definition at line 794 of file LibMkKernel_py.h.

795{
796 if ( callP == NULL || *callP == NULL || _Py_IsFinalizing()) return;
797
798 OT_OBJ_T callable = *callP;
799
800 OT_REF_DECR_AND_NULL(callable);
801
802 *callP = NULL;
803}
#define OT_REF_DECR_AND_NULL(_obj)

◆ pymkkernel_CallFreeOnce()

static void pymkkernel_CallFreeOnce ( MK_CBP * callP)
inlinestatic

Definition at line 782 of file LibMkKernel_py.h.

783{
784 if ( callP == NULL || *callP == NULL || _Py_IsFinalizing()) return;
785
786 struct MkCallS *call = *callP;
787
789
790 if (call->isAlloc) MkSysFree(*callP);
791 else *callP = NULL;
792}
#define MkSysFree(pointer)
OT_OBJ_T callable

◆ pymkkernel_Get_Call_Code()

MK_PY_EXTERN MK_STRN pymkkernel_Get_Call_Code ( Py_ssize_t ,
PyObject **  )

◆ pymkkernel_Get_Call_Line()

MK_PY_EXTERN MK_I32 pymkkernel_Get_Call_Line ( Py_ssize_t ,
PyObject **  )

◆ pymkkernel_Get_Call_Proc()

MK_PY_EXTERN MK_STRN pymkkernel_Get_Call_Proc ( Py_ssize_t ,
PyObject **  )

◆ pymkkernel_Get_Call_Script()

MK_PY_EXTERN MK_STRN pymkkernel_Get_Call_Script ( Py_ssize_t ,
PyObject **  )

◆ pymkkernel_Get_Call_Stack()

bool pymkkernel_Get_Call_Stack ( MK_RT mkrt,
MK_ERR const ,
Py_ssize_t ,
PyObject **  )

◆ pymkkernel_LngErrorToString()

char * pymkkernel_LngErrorToString ( void )

◆ pymkkernel_LngObjToMqPtr()

MK_PY_EXTERN MK_OBJ pymkkernel_LngObjToMqPtr ( PyObject * )

◆ pymkkernel_LngObjToString()

MK_PY_EXTERN const char * pymkkernel_LngObjToString ( PyObject * )

◆ pymkkernel_LngUnicodeObjToBuffer()

void pymkkernel_LngUnicodeObjToBuffer ( PyObject * ,
MK_STR ,
MK_SIZE ,
MK_STRN  )

◆ pymkkernel_MkBufferC_ObjNew()

static MK_ARTIFICIAL OT_OBJ_T pymkkernel_MkBufferC_ObjNew ( MK_RT mkrt,
OT_CLS_T type,
MK_BUF hdl )
inlinestatic

Definition at line 275 of file LibMkKernel_py.h.

275 {
276 return hdl ? MK(AtomObjNew)(MK_RT_CALL type,MkBufferC_X2obj(hdl)) : Py_NewRef(MkBufferC_MK_NULL);
277 }
#define MkBufferC_MK_NULL
#define MkBufferC_X2obj(x)

◆ pymkkernel_MkBufferListC_ObjNew()

static MK_ARTIFICIAL OT_OBJ_T pymkkernel_MkBufferListC_ObjNew ( MK_RT mkrt,
OT_CLS_T type,
MK_BFL hdl )
inlinestatic

Definition at line 242 of file LibMkKernel_py.h.

242 {
243 return hdl ? MK(AtomObjNew)(MK_RT_CALL type,MkBufferListC_X2obj(hdl)) : Py_NewRef(MkBufferListC_MK_NULL);
244 }
#define MkBufferListC_MK_NULL
#define MkBufferListC_X2obj(x)

◆ pymkkernel_MkBufferStreamC_ObjNew()

static MK_ARTIFICIAL OT_OBJ_T pymkkernel_MkBufferStreamC_ObjNew ( MK_RT mkrt,
OT_CLS_T type,
MK_BUS hdl )
inlinestatic

Definition at line 308 of file LibMkKernel_py.h.

308 {
309 return hdl ? MK(AtomObjNew)(MK_RT_CALL type,MkBufferStreamC_X2obj(hdl)) : Py_NewRef(MkBufferStreamC_MK_NULL);
310 }
#define MkBufferStreamC_MK_NULL
#define MkBufferStreamC_X2obj(x)

◆ pymkkernel_MkErrorC_ObjNew()

static MK_ARTIFICIAL OT_OBJ_T pymkkernel_MkErrorC_ObjNew ( MK_RT mkrt,
OT_CLS_T type,
MK_ERR hdl )
inlinestatic

Definition at line 341 of file LibMkKernel_py.h.

341 {
342 return hdl ? MK(AtomObjNew)(MK_RT_CALL type,MkErrorC_X2obj(hdl)) : Py_NewRef(MkErrorC_MK_NULL);
343 }
#define MkErrorC_MK_NULL
#define MkErrorC_X2obj(x)

◆ pymkkernel_MkLogFileC_ObjNew()

static MK_ARTIFICIAL OT_OBJ_T pymkkernel_MkLogFileC_ObjNew ( MK_RT mkrt,
OT_CLS_T type,
MK_LFL hdl )
inlinestatic

Definition at line 374 of file LibMkKernel_py.h.

374 {
375 return hdl ? MK(AtomObjNew)(MK_RT_CALL type,MkLogFileC_X2obj(hdl)) : Py_NewRef(MkLogFileC_MK_NULL);
376 }
#define MkLogFileC_MK_NULL
#define MkLogFileC_X2obj(x)

◆ pymkkernel_MkObjectC_ObjNew()

static MK_ARTIFICIAL OT_OBJ_T pymkkernel_MkObjectC_ObjNew ( MK_RT mkrt,
OT_CLS_T type,
MK_OBJ hdl )
inlinestatic

Definition at line 407 of file LibMkKernel_py.h.

407 {
408 return hdl ? MK(AtomObjNew)(MK_RT_CALL type,MkObjectC_X2obj(hdl)) : Py_NewRef(MkObjectC_MK_NULL);
409 }
#define MkObjectC_MK_NULL
#define MkObjectC_X2obj(x)

◆ pymkkernel_MkRuntimeC_ObjNew()

static MK_ARTIFICIAL OT_OBJ_T pymkkernel_MkRuntimeC_ObjNew ( MK_RT mkrt,
OT_CLS_T type,
MK_RT hdl )
inlinestatic

Definition at line 440 of file LibMkKernel_py.h.

440 {
441 return hdl ? MK(AtomObjNew)(MK_RT_CALL type,MkRuntimeC_X2obj(hdl)) : Py_NewRef(MkRuntimeC_MK_NULL);
442 }
#define MkRuntimeC_MK_NULL
#define MkRuntimeC_X2obj(x)

◆ pymkkernel_pMkBufferC_Init()

int pymkkernel_pMkBufferC_Init ( MK_RT mkrt,
OT_OBJ_T  )

◆ pymkkernel_pMkBufferListC_Init()

int pymkkernel_pMkBufferListC_Init ( MK_RT mkrt,
OT_OBJ_T  )

◆ pymkkernel_pMkBufferStreamC_Init()

int pymkkernel_pMkBufferStreamC_Init ( MK_RT mkrt,
OT_OBJ_T  )

◆ pymkkernel_pMkErrorC_Init()

int pymkkernel_pMkErrorC_Init ( MK_RT mkrt,
OT_OBJ_T  )

◆ pymkkernel_pMkLogFileC_Init()

int pymkkernel_pMkLogFileC_Init ( MK_RT mkrt,
OT_OBJ_T  )

◆ pymkkernel_pMkObjectC_Init()

int pymkkernel_pMkObjectC_Init ( MK_RT mkrt,
OT_OBJ_T  )

◆ pymkkernel_pMkRuntimeC_Init()

int pymkkernel_pMkRuntimeC_Init ( MK_RT mkrt,
OT_OBJ_T  )

◆ pymkkernel_printObjRaw()

static void pymkkernel_printObjRaw ( PyObject * obj,
MK_STRN str,
MK_STRN caller )
inlinestatic

Definition at line 952 of file LibMkKernel_py.h.

952 {
953 if (obj == NULL) obj = Py_None;
954 fprintf(stderr,"%-30s:%-25s[refCnt=%-3zi, type=%-10s, self=%-20p] -> ",
955 caller,str,Py_REFCNT(obj),Py_TYPE(obj)->tp_name,obj);
956 PyObject_Print(obj,stderr,Py_PRINT_RAW);
957 fprintf(stderr,"\n");
958 fflush(stderr);
959}

◆ pymkkernel_STR2VAL()

static PyObject * pymkkernel_STR2VAL ( MK_STRN str,
MK_NUM len )
inlinestatic

Definition at line 879 of file LibMkKernel_py.h.

879 {
880 PyObject *uc=NULL;
881 if (str == MK_NULL) {
882 return PyUnicode_FromString(MK_NULL_STR);
883 } else if ((uc = PyUnicode_FromStringAndSize(str,len)) == NULL) {
884 PyErr_Print();
885 return PyUnicode_FromString("ERROR in STR2VAL");
886 } else {
887 return uc;
888 }
889}
#define MK_NULL_STR
#define MK_NULL

◆ pymkkernel_STRN2VAL()

static PyObject * pymkkernel_STRN2VAL ( MK_STRN str)
inlinestatic

Definition at line 867 of file LibMkKernel_py.h.

867 {
868 PyObject *uc=NULL;
869 if (str == MK_NULL) {
870 return PyUnicode_FromString(MK_NULL_STR);
871 } else if ((uc = PyUnicode_FromString(str)) == NULL) {
872 PyErr_Print();
873 return PyUnicode_FromString("ERROR in STRN2VAL");
874 } else {
875 return uc;
876 }
877}

Variable Documentation

◆ pymkkernel_MkBufferCR

MK_PY_EXTERN_DATA OT_CLASS_TYPE_REF pymkkernel_MkBufferCR

Definition at line 258 of file LibMkKernel_py.h.

◆ pymkkernel_MkBufferListCR

MK_PY_EXTERN_DATA OT_CLASS_TYPE_REF pymkkernel_MkBufferListCR

Definition at line 225 of file LibMkKernel_py.h.

◆ pymkkernel_MkBufferStreamCR

MK_PY_EXTERN_DATA OT_CLASS_TYPE_REF pymkkernel_MkBufferStreamCR

Definition at line 291 of file LibMkKernel_py.h.

◆ pymkkernel_MkErrorCR

MK_PY_EXTERN_DATA OT_CLASS_TYPE_REF pymkkernel_MkErrorCR

Definition at line 324 of file LibMkKernel_py.h.

◆ pymkkernel_MkKernelThreadState

MK_PY_EXTERN_DATA __thread MkKernelThreadStateS pymkkernel_MkKernelThreadState

Definition at line 191 of file LibMkKernel_py.h.

◆ pymkkernel_MkLogFileCR

MK_PY_EXTERN_DATA OT_CLASS_TYPE_REF pymkkernel_MkLogFileCR

Definition at line 357 of file LibMkKernel_py.h.

◆ pymkkernel_MkObjectCR

MK_PY_EXTERN_DATA OT_CLASS_TYPE_REF pymkkernel_MkObjectCR

Definition at line 390 of file LibMkKernel_py.h.

◆ pymkkernel_MkRuntimeCR

MK_PY_EXTERN_DATA OT_CLASS_TYPE_REF pymkkernel_MkRuntimeCR

Definition at line 423 of file LibMkKernel_py.h.