theKernel 10.0
Loading...
Searching...
No Matches
MkObjectC_Misc_PY_API

MkObjectC - various functions related to the MkObjectSMore...

+ Collaboration diagram for MkObjectC_Misc_PY_API:

Functions

static OT_ProcRet pymkkernel_MkObjectC_ErrorCatch (MkObjectC_ARGS)
  Python: MkErrorC obj.ErrorCatch(?exception:errorCode=None?, ?callfunc:string="MK_NULL"?) C-API
convert a programming-language-error into an pymkkernel error …
 
static OT_ProcRet pymkkernel_MkObjectC_ToError (MkObjectC_ARGS)
  Python: MkErrorC obj.ToError() C-API
Error-Slot - return an error-object pre initialized with obj data.
 
static OT_ProcRet pymkkernel_MkObjectC_IsNull (MkObjectC_ARGS)
  Python: bool obj.IsNull() C-API
ckeck if the object is None
 
static OT_ProcRet pymkkernel_MkObjectC_ToName (MkObjectC_ARGS)
  Python: string obj.ToName() C-API
Info-Slot - returns brief information about the obj as a string
 
static OT_ProcRet pymkkernel_MkObjectC_ToNameOfClass (MkObjectC_ARGS)
  Python: string obj.ToNameOfClass() C-API
Class-Slot - returns the Python-Class-Name of the obj as string
 
static OT_ProcRet pymkkernel_MkObjectC_ToNameOfType (MkObjectC_ARGS)
  Python: string obj.ToNameOfType() C-API
Type-Slot - returns the LibMkKernel-Type-Name of the obj as a string
 
static OT_ProcRet pymkkernel_MkObjectC_ToString (MkObjectC_ARGS)
  Python: string inst.ToString() C-API
String-Slot - returns the string representation of the inst
 

Detailed Description

MkObjectC - various functions related to the MkObjectS

Function Documentation

◆ pymkkernel_MkObjectC_ErrorCatch()

static OT_ProcRet pymkkernel_MkObjectC_ErrorCatch ( MkObjectC_ARGS )
static

Python: MkErrorC obj.ErrorCatch(?exception:errorCode=None?, ?callfunc:string="MK_NULL"?) C-API
convert a programming-language-error into an pymkkernel error …

Definition at line 698 of file MkObjectC_py.c.

698 {
701 MK_EXP exception = NULL;
703 MK_STRN callfunc = NULL;
706 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
707 MK_ERR retVal = MkObjectErrorCatchTmpl (hdl, exception, callfunc);
708 OT_retObj_SET_ERR(retVal);
709 goto end;
710 error:
712 end:
715}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_retObj_SET_Error
#define OT_FRAME_CLEANUP
#define OT_retObj_RETURN
#define OT_GET_CALL_PROC
#define OT_CHECK_OPTIONAL(val)
#define OT_retObj_SET_ERR(nat)
#define OT_CHECK_NOARGS
#define OT_CHECK_STRN(val)
#define OT_SETUP_hdl
#define MkObjectErrorCatchTmpl(...)
#define ErrorCatch_doc
const MK_STRB * MK_STRN
constant string pointer data-type
MK_PTRB const * MK_EXP
exception object pointer
static bool MkSysStringIsNULL(MK_STRN str)
test if string is NULL or EMPTY …
#define OT_CHECK_EXP(val)
The data-type to store and handle the error-condition …

◆ pymkkernel_MkObjectC_IsNull()

static OT_ProcRet pymkkernel_MkObjectC_IsNull ( MkObjectC_ARGS )
static

Python: bool obj.IsNull() C-API
ckeck if the object is None

Definition at line 734 of file MkObjectC_py.c.

734 {
739 goto end;
740 error:
742 end:
744}
#define OT_retObj_SET_BOL(nat)
#define OT_SETUP_NOARG(d)
#define IsNull_doc
#define OT_SETUP_hdl__null_allow
static bool MkObjectIsNull(MK_OBJ const obj)
ckeck if the object is None

◆ pymkkernel_MkObjectC_ToError()

static OT_ProcRet pymkkernel_MkObjectC_ToError ( MkObjectC_ARGS )
static

Python: MkErrorC obj.ToError() C-API
Error-Slot - return an error-object pre initialized with obj data.

Definition at line 718 of file MkObjectC_py.c.

718 {
722 MK_ERR retVal = MkObjectToError (hdl);
723 OT_retObj_SET_ERR(retVal);
724 goto end;
725 error:
727 end:
729}
#define ToError_doc
#define MkObjectToError(...)

◆ pymkkernel_MkObjectC_ToName()

static OT_ProcRet pymkkernel_MkObjectC_ToName ( MkObjectC_ARGS )
static

Python: string obj.ToName() C-API
Info-Slot - returns brief information about the obj as a string

Definition at line 747 of file MkObjectC_py.c.

747 {
752 goto end;
753 error:
755 end:
757}
#define OT_retObj_SET_STR(nat)
#define ToName_doc
#define MkObjectToName(...)

◆ pymkkernel_MkObjectC_ToNameOfClass()

static OT_ProcRet pymkkernel_MkObjectC_ToNameOfClass ( MkObjectC_ARGS )
static

Python: string obj.ToNameOfClass() C-API
Class-Slot - returns the Python-Class-Name of the obj as string

Definition at line 760 of file MkObjectC_py.c.

760 {
765 goto end;
766 error:
768 end:
770}
#define MkObjectToNameOfClassTmpl(hdl)
#define ToNameOfClass_doc

◆ pymkkernel_MkObjectC_ToNameOfType()

static OT_ProcRet pymkkernel_MkObjectC_ToNameOfType ( MkObjectC_ARGS )
static

Python: string obj.ToNameOfType() C-API
Type-Slot - returns the LibMkKernel-Type-Name of the obj as a string

Definition at line 773 of file MkObjectC_py.c.

773 {
778 goto end;
779 error:
781 end:
783}
#define ToNameOfType_doc
#define MkObjectToNameOfType(...)

◆ pymkkernel_MkObjectC_ToString()

static OT_ProcRet pymkkernel_MkObjectC_ToString ( MkObjectC_ARGS )
static

Python: string inst.ToString() C-API
String-Slot - returns the string representation of the inst

Definition at line 786 of file MkObjectC_py.c.

786 {
791 goto end;
792 error:
794 end:
796}
#define ToString_doc
#define MkObjectToString(...)