theKernel 10.0
Loading...
Searching...
No Matches
MkObjectC_Misc_TCL_API

MkObjectC - various functions related to the MkObjectSMore...

+ Collaboration diagram for MkObjectC_Misc_TCL_API:

Functions

static OT_ProcRet tclmkkernel_MkObjectC_ErrorCatch (MkObjectC_ARGS)
  Tcl: MkErrorC [$obj ErrorCatch ?exception:errorCode="MK_NULL"? ?callfunc:string="MK_NULL"?] C-API
convert a programming-language-error into an tclmkkernel error …
 
static OT_ProcRet tclmkkernel_MkObjectC_ToError (MkObjectC_ARGS)
  Tcl: MkErrorC [$obj ToError] C-API
Error-Slot - return an error-object pre initialized with obj data.
 
static OT_ProcRet tclmkkernel_MkObjectC_IsNull (MkObjectC_ARGS)
  Tcl: bool [$obj IsNull] C-API
ckeck if the object is "MK_NULL"
 
static OT_ProcRet tclmkkernel_MkObjectC_ToName (MkObjectC_ARGS)
  Tcl: string [$obj ToName] C-API
Info-Slot - returns brief information about the obj as a string
 
static OT_ProcRet tclmkkernel_MkObjectC_ToNameOfClass (MkObjectC_ARGS)
  Tcl: string [$obj ToNameOfClass] C-API
Class-Slot - returns the Tcl-Class-Name of the obj as string
 
static OT_ProcRet tclmkkernel_MkObjectC_ToNameOfType (MkObjectC_ARGS)
  Tcl: string [$obj ToNameOfType] C-API
Type-Slot - returns the LibMkKernel-Type-Name of the obj as a string
 
static OT_ProcRet tclmkkernel_MkObjectC_ToString (MkObjectC_ARGS)
  Tcl: 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

◆ tclmkkernel_MkObjectC_ErrorCatch()

static OT_ProcRet tclmkkernel_MkObjectC_ErrorCatch ( MkObjectC_ARGS )
static

Tcl: MkErrorC [$obj ErrorCatch ?exception:errorCode="MK_NULL"? ?callfunc:string="MK_NULL"?] C-API
convert a programming-language-error into an tclmkkernel error …

Definition at line 729 of file MkObjectC_tcl.c.

729 {
732 MK_EXP exception = NULL;
734 MK_STRN callfunc = NULL;
737 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
738 MK_ERR retVal = MkObjectErrorCatchTmpl (hdl, exception, callfunc);
739 OT_retObj_SET_ERR(retVal);
740 goto end;
741 error:
743 end:
746}
#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 …

◆ tclmkkernel_MkObjectC_IsNull()

static OT_ProcRet tclmkkernel_MkObjectC_IsNull ( MkObjectC_ARGS )
static

Tcl: bool [$obj IsNull] C-API
ckeck if the object is "MK_NULL"

Definition at line 765 of file MkObjectC_tcl.c.

765 {
770 goto end;
771 error:
773 end:
775}
#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 "MK_NULL"

◆ tclmkkernel_MkObjectC_ToError()

static OT_ProcRet tclmkkernel_MkObjectC_ToError ( MkObjectC_ARGS )
static

Tcl: MkErrorC [$obj ToError] C-API
Error-Slot - return an error-object pre initialized with obj data.

Definition at line 749 of file MkObjectC_tcl.c.

749 {
753 MK_ERR retVal = MkObjectToError (hdl);
754 OT_retObj_SET_ERR(retVal);
755 goto end;
756 error:
758 end:
760}
#define ToError_doc
#define MkObjectToError(...)

◆ tclmkkernel_MkObjectC_ToName()

static OT_ProcRet tclmkkernel_MkObjectC_ToName ( MkObjectC_ARGS )
static

Tcl: string [$obj ToName] C-API
Info-Slot - returns brief information about the obj as a string

Definition at line 778 of file MkObjectC_tcl.c.

778 {
783 goto end;
784 error:
786 end:
788}
#define OT_retObj_SET_STR(nat)
#define ToName_doc
#define MkObjectToName(...)

◆ tclmkkernel_MkObjectC_ToNameOfClass()

static OT_ProcRet tclmkkernel_MkObjectC_ToNameOfClass ( MkObjectC_ARGS )
static

Tcl: string [$obj ToNameOfClass] C-API
Class-Slot - returns the Tcl-Class-Name of the obj as string

Definition at line 791 of file MkObjectC_tcl.c.

791 {
796 goto end;
797 error:
799 end:
801}
#define MkObjectToNameOfClassTmpl(hdl)
#define ToNameOfClass_doc

◆ tclmkkernel_MkObjectC_ToNameOfType()

static OT_ProcRet tclmkkernel_MkObjectC_ToNameOfType ( MkObjectC_ARGS )
static

Tcl: string [$obj ToNameOfType] C-API
Type-Slot - returns the LibMkKernel-Type-Name of the obj as a string

Definition at line 804 of file MkObjectC_tcl.c.

804 {
809 goto end;
810 error:
812 end:
814}
#define ToNameOfType_doc
#define MkObjectToNameOfType(...)

◆ tclmkkernel_MkObjectC_ToString()

static OT_ProcRet tclmkkernel_MkObjectC_ToString ( MkObjectC_ARGS )
static

Tcl: string [$inst ToString] C-API
String-Slot - returns the string representation of the inst

Definition at line 817 of file MkObjectC_tcl.c.

817 {
822 goto end;
823 error:
825 end:
827}
#define ToString_doc
#define MkObjectToString(...)