theKernel 10.0
Loading...
Searching...
No Matches
MkObjectC_Misc_RB_API

MkObjectC - various functions related to the MkObjectSMore...

+ Collaboration diagram for MkObjectC_Misc_RB_API:

Functions

static OT_ProcRet rbmkkernel_MkObjectC_ErrorCatch (MkObjectC_ARGS)
  Ruby: MkErrorC obj.ErrorCatch(?exception:errorCode=nil?, ?callfunc:string="MK_NULL"?) C-API
convert a programming-language-error into an rbmkkernel error …
 
static OT_ProcRet rbmkkernel_MkObjectC_ToError (MkObjectC_ARGS)
  Ruby: MkErrorC obj.ToError() C-API
Error-Slot - return an error-object pre initialized with obj data.
 
static OT_ProcRet rbmkkernel_MkObjectC_IsNull (MkObjectC_ARGS)
  Ruby: bool obj.IsNull() C-API
ckeck if the object is nil
 
static OT_ProcRet rbmkkernel_MkObjectC_ToName (MkObjectC_ARGS)
  Ruby: string obj.ToName() C-API
Info-Slot - returns brief information about the obj as a string
 
static OT_ProcRet rbmkkernel_MkObjectC_ToNameOfClass (MkObjectC_ARGS)
  Ruby: string obj.ToNameOfClass() C-API
Class-Slot - returns the Ruby-Class-Name of the obj as string
 
static OT_ProcRet rbmkkernel_MkObjectC_ToNameOfType (MkObjectC_ARGS)
  Ruby: string obj.ToNameOfType() C-API
Type-Slot - returns the LibMkKernel-Type-Name of the obj as a string
 
static OT_ProcRet rbmkkernel_MkObjectC_ToString (MkObjectC_ARGS)
  Ruby: 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

◆ rbmkkernel_MkObjectC_ErrorCatch()

static OT_ProcRet rbmkkernel_MkObjectC_ErrorCatch ( MkObjectC_ARGS )
static

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

Definition at line 644 of file MkObjectC_rb.c.

644 {
647 MK_EXP exception = NULL;
649 MK_STRN callfunc = NULL;
652 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
653 MK_ERR retVal = MkObjectErrorCatchTmpl (hdl, exception, callfunc);
654 OT_retObj_SET_ERR(retVal);
655 end: MK_UNUSED /* LONG JUMP on error */
658}
#define OT_SETUP_VARARGS(min, max, d)
#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
#define MK_UNUSED
mark unnused variables and functions
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 …

◆ rbmkkernel_MkObjectC_IsNull()

static OT_ProcRet rbmkkernel_MkObjectC_IsNull ( MkObjectC_ARGS )
static

Ruby: bool obj.IsNull() C-API
ckeck if the object is nil

Definition at line 674 of file MkObjectC_rb.c.

674 {
679 end: MK_UNUSED /* LONG JUMP on error */
681}
#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 nil

◆ rbmkkernel_MkObjectC_ToError()

static OT_ProcRet rbmkkernel_MkObjectC_ToError ( MkObjectC_ARGS )
static

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

Definition at line 661 of file MkObjectC_rb.c.

661 {
665 MK_ERR retVal = MkObjectToError (hdl);
666 OT_retObj_SET_ERR(retVal);
667 end: MK_UNUSED /* LONG JUMP on error */
669}
#define ToError_doc
#define MkObjectToError(...)

◆ rbmkkernel_MkObjectC_ToName()

static OT_ProcRet rbmkkernel_MkObjectC_ToName ( MkObjectC_ARGS )
static

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

Definition at line 684 of file MkObjectC_rb.c.

684 {
689 end: MK_UNUSED /* LONG JUMP on error */
691}
#define OT_retObj_SET_STR(nat)
#define ToName_doc
#define MkObjectToName(...)

◆ rbmkkernel_MkObjectC_ToNameOfClass()

static OT_ProcRet rbmkkernel_MkObjectC_ToNameOfClass ( MkObjectC_ARGS )
static

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

Definition at line 694 of file MkObjectC_rb.c.

694 {
699 end: MK_UNUSED /* LONG JUMP on error */
701}
#define MkObjectToNameOfClassTmpl(hdl)
#define ToNameOfClass_doc

◆ rbmkkernel_MkObjectC_ToNameOfType()

static OT_ProcRet rbmkkernel_MkObjectC_ToNameOfType ( MkObjectC_ARGS )
static

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

Definition at line 704 of file MkObjectC_rb.c.

704 {
709 end: MK_UNUSED /* LONG JUMP on error */
711}
#define ToNameOfType_doc
#define MkObjectToNameOfType(...)

◆ rbmkkernel_MkObjectC_ToString()

static OT_ProcRet rbmkkernel_MkObjectC_ToString ( MkObjectC_ARGS )
static

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

Definition at line 714 of file MkObjectC_rb.c.

714 {
719 end: MK_UNUSED /* LONG JUMP on error */
721}
#define ToString_doc
#define MkObjectToString(...)