theLink 10.0
Loading...
Searching...
No Matches
LibMkKernel_py.h File Reference

tag: nhi1-release-250425 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

tag: nhi1-release-250425

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)
MK_STRN ptr
Definition high_lng.h:130

Definition at line 856 of file LibMkKernel_py.h.

◆ BOL2VAL

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

Definition at line 848 of file LibMkKernel_py.h.

◆ check_LNG

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

Definition at line 568 of file LibMkKernel_py.h.

◆ check_NULL

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

Definition at line 679 of file LibMkKernel_py.h.

◆ CONSTR_ARGS

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

Definition at line 92 of file LibMkKernel_py.h.

◆ CONSTR_ARGS_CALL

#define CONSTR_ARGS_CALL   class, objv

Definition at line 93 of file LibMkKernel_py.h.

◆ DBL2VAL

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

Definition at line 853 of file LibMkKernel_py.h.

◆ FLT2VAL

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

Definition at line 852 of file LibMkKernel_py.h.

◆ formatObj

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

Definition at line 961 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 968 of file LibMkKernel_py.h.

◆ formatObj2_fmt

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

Definition at line 967 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 959 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 958 of file LibMkKernel_py.h.

◆ HDL2VAL

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

Definition at line 858 of file LibMkKernel_py.h.

◆ HEADER

#define HEADER

Definition at line 33 of file LibMkKernel_py.h.

◆ I162VAL

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

Definition at line 849 of file LibMkKernel_py.h.

◆ I642VAL

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

Definition at line 851 of file LibMkKernel_py.h.

◆ I82VAL

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

Definition at line 847 of file LibMkKernel_py.h.

◆ INT2VAL

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

Definition at line 850 of file LibMkKernel_py.h.

◆ LngErrorCheckN

#define LngErrorCheckN ( PROC)
Value:
if ((PROC) == NULL) goto error;
#define error
Definition high_lng.h:339

Definition at line 571 of file LibMkKernel_py.h.

◆ LngErrorCheckNT

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

Definition at line 572 of file LibMkKernel_py.h.

◆ LngErrorCheckT

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

Definition at line 570 of file LibMkKernel_py.h.

◆ LONG2VAL

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

Definition at line 857 of file LibMkKernel_py.h.

◆ ME_REF_MkBinaryR

#define ME_REF_MkBinaryR   MkBinaryR

Definition at line 894 of file LibMkKernel_py.h.

◆ ME_REF_MkStringR

#define ME_REF_MkStringR   MkStringR

Definition at line 918 of file LibMkKernel_py.h.

◆ MK

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

Definition at line 84 of file LibMkKernel_py.h.

◆ MK_PY_EXTERN

#define MK_PY_EXTERN

static library

Definition at line 57 of file LibMkKernel_py.h.

◆ MK_PY_EXTERN_DATA

#define MK_PY_EXTERN_DATA   extern

Definition at line 80 of file LibMkKernel_py.h.

◆ MkBufferC_ARGS

#define MkBufferC_ARGS   MkBufferC_Obj *self, PyObject *objv

Definition at line 263 of file LibMkKernel_py.h.

◆ MkBufferC_ARGS_CALL

#define MkBufferC_ARGS_CALL   self, objv

Definition at line 264 of file LibMkKernel_py.h.

◆ MkBufferC_base

#define MkBufferC_base   (&MK(MkObjectCR))

Definition at line 257 of file LibMkKernel_py.h.

◆ MkBufferC_lngO

#define MkBufferC_lngO   (&MK(MkBufferCR))

Definition at line 256 of file LibMkKernel_py.h.

◆ MkBufferC_MK_NULL

#define MkBufferC_MK_NULL   MK(MkKernelThreadState).MkBufferC_MK_NULL

Definition at line 260 of file LibMkKernel_py.h.

◆ MkBufferListC_ARGS

#define MkBufferListC_ARGS   MkBufferListC_Obj *self, PyObject *objv

Definition at line 230 of file LibMkKernel_py.h.

◆ MkBufferListC_ARGS_CALL

#define MkBufferListC_ARGS_CALL   self, objv

Definition at line 231 of file LibMkKernel_py.h.

◆ MkBufferListC_base

#define MkBufferListC_base   (&MK(MkObjectCR))

Definition at line 224 of file LibMkKernel_py.h.

◆ MkBufferListC_lngO

#define MkBufferListC_lngO   (&MK(MkBufferListCR))

Definition at line 223 of file LibMkKernel_py.h.

◆ MkBufferListC_MK_NULL

#define MkBufferListC_MK_NULL   MK(MkKernelThreadState).MkBufferListC_MK_NULL

Definition at line 227 of file LibMkKernel_py.h.

◆ MkBufferStreamC_ARGS

#define MkBufferStreamC_ARGS   MkBufferStreamC_Obj *self, PyObject *objv

Definition at line 296 of file LibMkKernel_py.h.

◆ MkBufferStreamC_ARGS_CALL

#define MkBufferStreamC_ARGS_CALL   self, objv

Definition at line 297 of file LibMkKernel_py.h.

◆ MkBufferStreamC_base

#define MkBufferStreamC_base   (&MK(MkObjectCR))

Definition at line 290 of file LibMkKernel_py.h.

◆ MkBufferStreamC_lngO

#define MkBufferStreamC_lngO   (&MK(MkBufferStreamCR))

Definition at line 289 of file LibMkKernel_py.h.

◆ MkBufferStreamC_MK_NULL

#define MkBufferStreamC_MK_NULL   MK(MkKernelThreadState).MkBufferStreamC_MK_NULL

Definition at line 293 of file LibMkKernel_py.h.

◆ MkErrorC_ARGS

#define MkErrorC_ARGS   MkErrorC_Obj *self, PyObject *objv

Definition at line 329 of file LibMkKernel_py.h.

◆ MkErrorC_ARGS_CALL

#define MkErrorC_ARGS_CALL   self, objv

Definition at line 330 of file LibMkKernel_py.h.

◆ MkErrorC_base

#define MkErrorC_base   (&MK(MkObjectCR))

Definition at line 323 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 550 of file LibMkKernel_py.h.

550#define MkErrorC_Check(mng,PROC) \
551 if (unlikely(MkErrorCheckI(PROC))) { \
552 OT_ERROR_META_2_LNG(mng); goto error; \
553 }

◆ 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 555 of file LibMkKernel_py.h.

555#define MkErrorC_Check_1(PROC) \
556 if (unlikely(MkErrorCheckI(PROC))) { \
557 OT_ERROR_META_2_LNG(MK_ERROR_FORMAT); goto error; \
558 }

◆ MkErrorC_CheckD

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

Definition at line 560 of file LibMkKernel_py.h.

560#define MkErrorC_CheckD(PROC) \
561 if (unlikely(MkErrorCheckI(PROC))) { \
562 OT_ERROR_META_2_LNG(hdl); goto error; \
563 }

◆ MkErrorC_lngO

#define MkErrorC_lngO   (&MK(MkErrorCR))

Definition at line 322 of file LibMkKernel_py.h.

◆ MkErrorC_MK_NULL

#define MkErrorC_MK_NULL   MK(MkKernelThreadState).MkErrorC_MK_NULL

Definition at line 326 of file LibMkKernel_py.h.

◆ MkErrorE_lngO

#define MkErrorE_lngO   (MK(MkKernelThreadState).MkErrorE)

Definition at line 687 of file LibMkKernel_py.h.

◆ MkIdSE_lngO

#define MkIdSE_lngO   (MK(MkKernelThreadState).MkIdSE)

Definition at line 688 of file LibMkKernel_py.h.

◆ MkLogFileC_ARGS

#define MkLogFileC_ARGS   MkLogFileC_Obj *self, PyObject *objv

Definition at line 362 of file LibMkKernel_py.h.

◆ MkLogFileC_ARGS_CALL

#define MkLogFileC_ARGS_CALL   self, objv

Definition at line 363 of file LibMkKernel_py.h.

◆ MkLogFileC_base

#define MkLogFileC_base   (&MK(MkObjectCR))

Definition at line 356 of file LibMkKernel_py.h.

◆ MkLogFileC_lngO

#define MkLogFileC_lngO   (&MK(MkLogFileCR))

Definition at line 355 of file LibMkKernel_py.h.

◆ MkLogFileC_MK_NULL

#define MkLogFileC_MK_NULL   MK(MkKernelThreadState).MkLogFileC_MK_NULL

Definition at line 359 of file LibMkKernel_py.h.

◆ MkObjectC_ARGS

#define MkObjectC_ARGS   MkObjectC_Obj *self, PyObject *objv

Definition at line 395 of file LibMkKernel_py.h.

◆ MkObjectC_ARGS_CALL

#define MkObjectC_ARGS_CALL   self, objv

Definition at line 396 of file LibMkKernel_py.h.

◆ MkObjectC_base

#define MkObjectC_base   NULL

Definition at line 389 of file LibMkKernel_py.h.

◆ MkObjectC_lngO

#define MkObjectC_lngO   (&MK(MkObjectCR))

Definition at line 388 of file LibMkKernel_py.h.

◆ MkObjectC_MK_NULL

#define MkObjectC_MK_NULL   MK(MkKernelThreadState).MkObjectC_MK_NULL

Definition at line 392 of file LibMkKernel_py.h.

◆ MkRuntimeC_ARGS

#define MkRuntimeC_ARGS   MkRuntimeC_Obj *self, PyObject *objv

Definition at line 428 of file LibMkKernel_py.h.

◆ MkRuntimeC_ARGS_CALL

#define MkRuntimeC_ARGS_CALL   self, objv

Definition at line 429 of file LibMkKernel_py.h.

◆ MkRuntimeC_base

#define MkRuntimeC_base   (&MK(MkObjectCR))

Definition at line 422 of file LibMkKernel_py.h.

◆ MkRuntimeC_lngO

#define MkRuntimeC_lngO   (&MK(MkRuntimeCR))

Definition at line 421 of file LibMkKernel_py.h.

◆ MkRuntimeC_MK_NULL

#define MkRuntimeC_MK_NULL   MK(MkKernelThreadState).MkRuntimeC_MK_NULL

Definition at line 425 of file LibMkKernel_py.h.

◆ MkTimeoutE_lngO

#define MkTimeoutE_lngO   (MK(MkKernelThreadState).MkTimeoutE)

Definition at line 689 of file LibMkKernel_py.h.

◆ MkTypeE_lngO

#define MkTypeE_lngO   (MK(MkKernelThreadState).MkTypeE)

Definition at line 690 of file LibMkKernel_py.h.

◆ NS

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

Definition at line 86 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 846 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 911 of file LibMkKernel_py.h.

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

◆ 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 936 of file LibMkKernel_py.h.

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

◆ OT_Check_ARGS

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

Definition at line 607 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 664 of file LibMkKernel_py.h.

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

◆ 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 650 of file LibMkKernel_py.h.

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

◆ 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 747 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); \
} \
} \
};
MK_OBJ const obj
Definition high_lng.h:136

Definition at line 723 of file LibMkKernel_py.h.

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

◆ OT_Check_CALL

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

Definition at line 608 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 745 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 748 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 753 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 754 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 749 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 750 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 751 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 752 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 755 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 645 of file LibMkKernel_py.h.

645#define OT_CHECK_NOARGS \
646 if (__skip != objc) {\
647 OT_ERROR_NUMARGS(hdl,__skip, objc, -999, +999, "");\
648 }

◆ 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 640 of file LibMkKernel_py.h.

640#define OT_CHECK_NUM_ARGS(min,max) \
641 if (objc < min || objc > max) {\
642 OT_ERROR_NUMARGS(hdl,__skip, objc, min, max, "");\
643 }

◆ OT_CHECK_OPTIONAL

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

Definition at line 637 of file LibMkKernel_py.h.

◆ OT_CHECK_REQUIRED

#define OT_CHECK_REQUIRED ( val)
Value:
val

Definition at line 638 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 700 of file LibMkKernel_py.h.

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

◆ OT_CLASS_TYPE_REF

#define OT_CLASS_TYPE_REF   OT_CLS_TR

Definition at line 197 of file LibMkKernel_py.h.

◆ OT_CONSTRUCTOR_POST

#define OT_CONSTRUCTOR_POST ( x)

Definition at line 520 of file LibMkKernel_py.h.

◆ OT_ENUM_TO_I32

#define OT_ENUM_TO_I32 ( o,
e )

Definition at line 619 of file LibMkKernel_py.h.

◆ OT_ENUM_TO_I32_2

#define OT_ENUM_TO_I32_2 ( o,
str )

Definition at line 620 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 531 of file LibMkKernel_py.h.

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

◆ 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 544 of file LibMkKernel_py.h.

544#define OT_ERROR_CONSTRUCTOR(class) \
545 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 566 of file LibMkKernel_py.h.

◆ OT_ERROR_LNG_RETURN

#define OT_ERROR_LNG_RETURN   return NULL

Definition at line 529 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 565 of file LibMkKernel_py.h.

◆ OT_ERROR_NUMARGS

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

Definition at line 575 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 540 of file LibMkKernel_py.h.

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

◆ OT_ERROR_TYPE

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

Definition at line 547 of file LibMkKernel_py.h.

547#define OT_ERROR_TYPE(str) \
548 PyErr_SetString(PyExc_TypeError, str);

◆ OT_ERROR_VAR_DEFAULT

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

Definition at line 578 of file LibMkKernel_py.h.

◆ OT_FRAME_CLEANUP

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

Definition at line 456 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 895 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 919 of file LibMkKernel_py.h.

◆ OT_GET_CALL_FILE

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

Definition at line 760 of file LibMkKernel_py.h.

◆ OT_GET_CALL_LINE

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

Definition at line 761 of file LibMkKernel_py.h.

◆ OT_GET_CALL_PROC

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

Definition at line 759 of file LibMkKernel_py.h.

◆ OT_GET_CONSTR_NAME

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

Definition at line 677 of file LibMkKernel_py.h.

◆ OT_LNG_ARRAY_IS

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

Definition at line 611 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 618 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 613 of file LibMkKernel_py.h.

◆ OT_LNG_IS_NULL

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

Definition at line 115 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 612 of file LibMkKernel_py.h.

◆ OT_LNG_NAME_FROM_CLASS

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

Definition at line 118 of file LibMkKernel_py.h.

◆ OT_LNG_NULL

#define OT_LNG_NULL   Py_None

Definition at line 113 of file LibMkKernel_py.h.

◆ OT_LNG_NULL_IS

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

Definition at line 610 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 124 of file LibMkKernel_py.h.

◆ OT_LNG_OBJ_CLASSNAME

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

Definition at line 120 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 617 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 128 of file LibMkKernel_py.h.

◆ OT_LNG_OBJV

#define OT_LNG_OBJV ( skip)
Value:

Definition at line 122 of file LibMkKernel_py.h.

◆ OT_LNG_RETURN

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

Definition at line 116 of file LibMkKernel_py.h.

◆ OT_LNG_SKIP_TYPE

#define OT_LNG_SKIP_TYPE   Py_ssize_t

Definition at line 615 of file LibMkKernel_py.h.

◆ OT_LNG_STRN_POST

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

Definition at line 631 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 622 of file LibMkKernel_py.h.

622#define OT_LNG_STRN_PRE(str,obj) PyObject *__##str=PyObject_Str(obj); \
623 LngErrorCheckN(__##str); \
624 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 626 of file LibMkKernel_py.h.

626#define OT_LNG_STRN_PRE_AND_LEN(str,_len,obj) \
627 PyObject *__##str=PyObject_Str(obj); \
628 LngErrorCheckN(__##str); \
629 MK_STRN str=PyUnicode_AsUTF8AndSize(__##str,&_len)

◆ OT_LNG_UNDEF

#define OT_LNG_UNDEF   Py_None

Definition at line 114 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 524 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 811 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 694 of file LibMkKernel_py.h.

◆ OT_OBJ_TO_CLASS

#define OT_OBJ_TO_CLASS ( ptr)
Value:

Definition at line 125 of file LibMkKernel_py.h.

◆ OT_OBJ_TO_ENUM

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

Definition at line 126 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 809 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 810 of file LibMkKernel_py.h.

◆ OT_OBJECT_DISPOSE

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

Definition at line 808 of file LibMkKernel_py.h.

◆ OT_Prefix_ARGS

#define OT_Prefix_ARGS   MK_RT_ARGS

Definition at line 601 of file LibMkKernel_py.h.

◆ OT_Prefix_CALL

#define OT_Prefix_CALL   MK_RT_CALL

Definition at line 602 of file LibMkKernel_py.h.

◆ OT_ProcRet

#define OT_ProcRet   PyObject*

Definition at line 90 of file LibMkKernel_py.h.

◆ OT_REF_DECR_AND_NULL

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

Definition at line 209 of file LibMkKernel_py.h.

◆ OT_REF_INCR

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

Definition at line 207 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 208 of file LibMkKernel_py.h.

◆ OT_RET_SELF

#define OT_RET_SELF   (Py_NewRef(OT_SELF))

Definition at line 497 of file LibMkKernel_py.h.

◆ OT_retObj_APPEND

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

Definition at line 504 of file LibMkKernel_py.h.

◆ OT_retObj_RETURN

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

Definition at line 505 of file LibMkKernel_py.h.

◆ OT_retObj_SET

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

Definition at line 499 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 234 of file LibMkKernel_py.h.

◆ OT_retObj_SET_BIN

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

Definition at line 514 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 507 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 267 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 300 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 513 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 333 of file LibMkKernel_py.h.

◆ OT_retObj_SET_Error

#define OT_retObj_SET_Error   retObj = NULL;

Definition at line 502 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 512 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 518 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 509 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 510 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 511 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 508 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 366 of file LibMkKernel_py.h.

◆ OT_retObj_SET_List

#define OT_retObj_SET_List   retObj = PyList_New(0);

Definition at line 503 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 517 of file LibMkKernel_py.h.

◆ OT_retObj_SET_None

#define OT_retObj_SET_None   retObj = Py_NewRef(Py_None);

Definition at line 500 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 399 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 432 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 515 of file LibMkKernel_py.h.

◆ OT_retObj_SET_STRN

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

Definition at line 516 of file LibMkKernel_py.h.

◆ OT_SELF

#define OT_SELF   ((PyObject*)self)

Definition at line 477 of file LibMkKernel_py.h.

◆ OT_SELF_O

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

Definition at line 479 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 478 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 450 of file LibMkKernel_py.h.

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

◆ 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 463 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)
static typeof(MqLal.MqSysServerThreadCB) save_MqSysServerThreadF
if(call==MQ_RET &&highSKIP==highSIZE) goto call
Definition high_lng.h:230

Definition at line 485 of file LibMkKernel_py.h.

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

◆ 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 at line 493 of file LibMkKernel_py.h.

493#define OT_SETUP_hdl_tmpl__null_allow(cls) \
494 typeof(self->hdl) hdl = self->hdl; \
495 SetupRtFromObj_X(hdl); \
496

◆ 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 470 of file LibMkKernel_py.h.

470#define OT_SETUP_NOARG(d) \
471 OT_SETUP_ARGS_ALL(d) \
472 Py_ssize_t objc=0; \
473 OT_CHECK_NUM_ARGS(0,0); \
474

◆ OT_SETUP_OBJ

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

Definition at line 475 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 465 of file LibMkKernel_py.h.

465#define OT_SETUP_ONEARG(d) \
466 OT_SETUP_ARGS_ALL(d) \
467 Py_ssize_t objc=1; \
468 OT_CHECK_NUM_ARGS(1,1); \
469

◆ 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 458 of file LibMkKernel_py.h.

458#define OT_SETUP_VARARGS(min,max,d) \
459 OT_SETUP_ARGS_ALL(d) \
460 Py_ssize_t objc=PyTuple_GET_SIZE(objv); \
461 OT_CHECK_NUM_ARGS(min,max); \
462

◆ OT_TMP_BFL_OBJ

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

Definition at line 237 of file LibMkKernel_py.h.

◆ OT_TMP_BIN_OBJ

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

Definition at line 596 of file LibMkKernel_py.h.

◆ OT_TMP_BOL_OBJ

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

Definition at line 589 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 270 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 303 of file LibMkKernel_py.h.

◆ OT_TMP_DBL_OBJ

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

Definition at line 595 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 336 of file LibMkKernel_py.h.

◆ OT_TMP_FLT_OBJ

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

Definition at line 594 of file LibMkKernel_py.h.

◆ OT_TMP_I16_OBJ

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

Definition at line 591 of file LibMkKernel_py.h.

◆ OT_TMP_I32_OBJ

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

Definition at line 592 of file LibMkKernel_py.h.

◆ OT_TMP_I64_OBJ

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

Definition at line 593 of file LibMkKernel_py.h.

◆ OT_TMP_I8_OBJ

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

Definition at line 590 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 369 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 402 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 435 of file LibMkKernel_py.h.

◆ OT_TMP_STR_OBJ

#define OT_TMP_STR_OBJ ( val)
Value:

Definition at line 597 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 635 of file LibMkKernel_py.h.

◆ OtClass_ARGS

#define OtClass_ARGS   PyObject *class, PyObject *objv

Definition at line 95 of file LibMkKernel_py.h.

◆ OtClass_ARGS_CALL

#define OtClass_ARGS_CALL   class, objv

Definition at line 96 of file LibMkKernel_py.h.

◆ OtErrorCheckLng

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

Definition at line 569 of file LibMkKernel_py.h.

◆ printLngObj

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

Definition at line 965 of file LibMkKernel_py.h.

◆ printLngObj2

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

Definition at line 972 of file LibMkKernel_py.h.

◆ printObj1

#define printObj1 ( x,
o )
Value:

Definition at line 974 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 975 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 964 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 971 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 976 of file LibMkKernel_py.h.

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

◆ printXSObj

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

Definition at line 963 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 970 of file LibMkKernel_py.h.

◆ SETUP_ARGS

#define SETUP_ARGS   MK_RT_ARGS Py_ssize_t objc, PyObject *objv

Definition at line 604 of file LibMkKernel_py.h.

◆ SETUP_ARGS_CALL

#define SETUP_ARGS_CALL   MK_RT_CALL objc, objv

Definition at line 605 of file LibMkKernel_py.h.

◆ STR2VAL

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

Definition at line 855 of file LibMkKernel_py.h.

◆ STRN2VAL

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

Definition at line 854 of file LibMkKernel_py.h.

◆ VAL2BFL

#define VAL2BFL ( val)
Value:

Definition at line 244 of file LibMkKernel_py.h.

◆ VAL2BUF

#define VAL2BUF ( val)
Value:

Definition at line 277 of file LibMkKernel_py.h.

◆ VAL2BUS

#define VAL2BUS ( val)
Value:

Definition at line 310 of file LibMkKernel_py.h.

◆ VAL2ERR

#define VAL2ERR ( val)
Value:

Definition at line 343 of file LibMkKernel_py.h.

◆ VAL2LFL

#define VAL2LFL ( val)
Value:

Definition at line 376 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 896 of file LibMkKernel_py.h.

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

◆ 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 920 of file LibMkKernel_py.h.

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

◆ VAL2MNG

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

Definition at line 860 of file LibMkKernel_py.h.

◆ VAL2OBJ

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

Definition at line 409 of file LibMkKernel_py.h.

◆ VAL2RT

#define VAL2RT ( val)
Value:

Definition at line 442 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 103 of file LibMkKernel_py.h.

◆ OT_CLS_TR

typedef PyTypeObject OT_CLS_TR

Definition at line 102 of file LibMkKernel_py.h.

◆ OT_ENUM_T

typedef PyTypeObject* OT_ENUM_T

Definition at line 101 of file LibMkKernel_py.h.

◆ OT_LNG_OBJ_T

Definition at line 446 of file LibMkKernel_py.h.

◆ OT_OBJ_T

typedef PyObject* OT_OBJ_T

Definition at line 100 of file LibMkKernel_py.h.

Function Documentation

◆ OT_PyObjectOrNone()

static PyObject * OT_PyObjectOrNone ( MK_MNG mng)
inlinestatic

Definition at line 481 of file LibMkKernel_py.h.

481 {
482 return (MkObjCheck(mng) ? (PyObject*) (((MK_OBJ)mng)->self) : Py_None);
483}
static bool MkObjCheck(MK_MNGN mng)

◆ PyC2O()

static PyObject * PyC2O ( MK_STRN v)
inlinestatic

Definition at line 835 of file LibMkKernel_py.h.

835 {
836 return (v?PyUnicode_FromString(v):Py_NewRef(Py_None));
837}

◆ pymkkernel_AtomCreate()

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

Definition at line 1048 of file LibMkKernel_py.h.

1052 {
1053 MkObjectC_Obj *retObj = (MkObjectC_Obj*) (type)->tp_alloc(type, 0);
1054
1055 if (obj) {
1056 retObj->hdl = obj;
1057 MkRefIncr(obj);
1058 MkSelfSet (obj, (void*) retObj, NULL);
1059 }
1060
1061#if LOG_REF
1062 printLngObj(retObj);
1063#endif
1064
1065// mk_dbg_color_ln(MK_COLOR_PURPLE,"obj<%p>, retObj<%p>, retObj->hdl<%p>", obj, retObj, retObj->hdl);
1066
1067 return (PyObject*)retObj;
1068}
#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 1014 of file LibMkKernel_py.h.

1015{
1016 // check if hdl is valid
1017 MK_OBJ obj = MkObj(mng);
1018 // delete link between PYTHON and MQ
1019 check_NULL(obj) return;
1020 // delete link between META and PYTHON
1022}
#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 1025 of file LibMkKernel_py.h.

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

◆ pymkkernel_AtomDispose()

static void pymkkernel_AtomDispose ( MK_RT mkrt,
MK_MNG mng )
inlinestatic

Definition at line 1002 of file LibMkKernel_py.h.

1003{
1004 // check if hdl is valid
1005 MK_OBJ obj = MkObj(mng);
1006 // delete link between PYTHON and MQ
1007 check_NULL(obj) return;
1008
1009 // delete link between MQ and PYTHON
1011}

◆ pymkkernel_AtomObjNew()

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

Definition at line 1070 of file LibMkKernel_py.h.

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

◆ pymkkernel_CallFree()

static void pymkkernel_CallFree ( MK_CBP * callP)
inlinestatic

Definition at line 791 of file LibMkKernel_py.h.

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

◆ pymkkernel_CallFreeOnce()

static void pymkkernel_CallFreeOnce ( MK_CBP * callP)
inlinestatic

Definition at line 779 of file LibMkKernel_py.h.

780{
781 if ( callP == NULL || *callP == NULL || _Py_IsFinalizing()) return;
782
783 struct MkCallS *call = *callP;
784
785 OT_REF_DECR_AND_NULL(call->callable);
786
787 if (call->isAlloc) MkSysFree(*callP);
788 else *callP = NULL;
789}
#define MkSysFree(pointer)
enum MqCallE call

◆ 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 272 of file LibMkKernel_py.h.

272 {
273 return hdl ? MK(AtomObjNew)(MK_RT_CALL type,MkBufferC_X2obj(hdl)) : Py_NewRef(MkBufferC_MK_NULL);
274 }
#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 239 of file LibMkKernel_py.h.

239 {
240 return hdl ? MK(AtomObjNew)(MK_RT_CALL type,MkBufferListC_X2obj(hdl)) : Py_NewRef(MkBufferListC_MK_NULL);
241 }
#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 305 of file LibMkKernel_py.h.

305 {
306 return hdl ? MK(AtomObjNew)(MK_RT_CALL type,MkBufferStreamC_X2obj(hdl)) : Py_NewRef(MkBufferStreamC_MK_NULL);
307 }
#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 338 of file LibMkKernel_py.h.

338 {
339 return hdl ? MK(AtomObjNew)(MK_RT_CALL type,MkErrorC_X2obj(hdl)) : Py_NewRef(MkErrorC_MK_NULL);
340 }
#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 371 of file LibMkKernel_py.h.

371 {
372 return hdl ? MK(AtomObjNew)(MK_RT_CALL type,MkLogFileC_X2obj(hdl)) : Py_NewRef(MkLogFileC_MK_NULL);
373 }
#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 404 of file LibMkKernel_py.h.

404 {
405 return hdl ? MK(AtomObjNew)(MK_RT_CALL type,MkObjectC_X2obj(hdl)) : Py_NewRef(MkObjectC_MK_NULL);
406 }
#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 437 of file LibMkKernel_py.h.

437 {
438 return hdl ? MK(AtomObjNew)(MK_RT_CALL type,MkRuntimeC_X2obj(hdl)) : Py_NewRef(MkRuntimeC_MK_NULL);
439 }
#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 949 of file LibMkKernel_py.h.

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

◆ pymkkernel_STR2VAL()

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

Definition at line 876 of file LibMkKernel_py.h.

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

◆ pymkkernel_STRN2VAL()

static PyObject * pymkkernel_STRN2VAL ( MK_STRN str)
inlinestatic

Definition at line 864 of file LibMkKernel_py.h.

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

Variable Documentation

◆ pymkkernel_MkBufferCR

MK_PY_EXTERN_DATA OT_CLASS_TYPE_REF pymkkernel_MkBufferCR

Definition at line 255 of file LibMkKernel_py.h.

◆ pymkkernel_MkBufferListCR

MK_PY_EXTERN_DATA OT_CLASS_TYPE_REF pymkkernel_MkBufferListCR

Definition at line 222 of file LibMkKernel_py.h.

◆ pymkkernel_MkBufferStreamCR

MK_PY_EXTERN_DATA OT_CLASS_TYPE_REF pymkkernel_MkBufferStreamCR

Definition at line 288 of file LibMkKernel_py.h.

◆ pymkkernel_MkErrorCR

MK_PY_EXTERN_DATA OT_CLASS_TYPE_REF pymkkernel_MkErrorCR

Definition at line 321 of file LibMkKernel_py.h.

◆ pymkkernel_MkKernelThreadState

MK_PY_EXTERN_DATA __thread MkKernelThreadStateS pymkkernel_MkKernelThreadState

Definition at line 188 of file LibMkKernel_py.h.

◆ pymkkernel_MkLogFileCR

MK_PY_EXTERN_DATA OT_CLASS_TYPE_REF pymkkernel_MkLogFileCR

Definition at line 354 of file LibMkKernel_py.h.

◆ pymkkernel_MkObjectCR

MK_PY_EXTERN_DATA OT_CLASS_TYPE_REF pymkkernel_MkObjectCR

Definition at line 387 of file LibMkKernel_py.h.

◆ pymkkernel_MkRuntimeCR

MK_PY_EXTERN_DATA OT_CLASS_TYPE_REF pymkkernel_MkRuntimeCR

Definition at line 420 of file LibMkKernel_py.h.