theKernel 10.0
Loading...
Searching...
No Matches
MkBufferC_Info_RB_API

MkBufferC - various functions to get information out of buffer-dataMore...

+ Collaboration diagram for MkBufferC_Info_RB_API:

Functions

static OT_ProcRet rbmkkernel_MkBufferC_GetType1 (MkBufferC_ARGS)
  Ruby: string[1] buf.GetType1() C-API
return the type from a MkBufferC as single character value …
 
static OT_ProcRet rbmkkernel_MkBufferC_GetType2 (MkBufferC_ARGS)
  Ruby: MkTypeE buf.GetType2() C-API
return the MkTypeE from a MkBufferC
 
static OT_ProcRet rbmkkernel_MkBufferC_GetType3 (MkBufferC_ARGS)
  Ruby: string buf.GetType3() C-API
return the type from a MkBufferC as single character string …
 
static OT_ProcRet rbmkkernel_MkBufferC_IsLocal (MkBufferC_ARGS)
  Ruby: bool buf.IsLocal() C-API
Check if the MkBufferC is local (temporary), not local mean global
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet rbmkkernel_MkBufferC_Log (MkBufferC_ARGS)
 
static OT_ProcRet rbmkkernel_MkBufferC_LogS (MkBufferC_ARGS)
  Ruby: buf.LogS(?varname:string="buf"?, ?fmtobj:MkObjectC=nil?, ?callfunc:string="MK_NULL"?) C-API
log the short MkBufferC object data to the MkLogFileC (default: stderr) …
 

Detailed Description

MkBufferC - various functions to get information out of buffer-data

Function Documentation

◆ rbmkkernel_MkBufferC_GetType1()

static OT_ProcRet rbmkkernel_MkBufferC_GetType1 ( MkBufferC_ARGS )
static

Ruby: string[1] buf.GetType1() C-API
return the type from a MkBufferC as single character value …

Definition at line 533 of file MkBufferC_rb.c.

533 {
537 char ret_str[2] = {MkBufferGetType1 (hdl), '\0'};
538 OT_retObj_SET_STR(ret_str);
539 end: MK_UNUSED /* LONG JUMP on error */
541}
#define OT_SETUP_NOARG(d)
#define OT_retObj_RETURN
#define OT_retObj_SET_STR(nat)
#define OT_CHECK_NOARGS
#define OT_SETUP_hdl
#define GetType1_doc
#define MkBufferGetType1(...)
#define MK_UNUSED
mark unnused variables and functions

◆ rbmkkernel_MkBufferC_GetType2()

static OT_ProcRet rbmkkernel_MkBufferC_GetType2 ( MkBufferC_ARGS )
static

Ruby: MkTypeE buf.GetType2() C-API
return the MkTypeE from a MkBufferC

Definition at line 544 of file MkBufferC_rb.c.

544 {
549 end: MK_UNUSED /* LONG JUMP on error */
551}
#define OT_NEW_Mk_enum_OBJ(typ, i)
#define OT_retObj_SET(val)
#define GetType2_doc
#define MkBufferGetType2(...)

◆ rbmkkernel_MkBufferC_GetType3()

static OT_ProcRet rbmkkernel_MkBufferC_GetType3 ( MkBufferC_ARGS )
static

Ruby: string buf.GetType3() C-API
return the type from a MkBufferC as single character string …

Definition at line 554 of file MkBufferC_rb.c.

554 {
559 end: MK_UNUSED /* LONG JUMP on error */
561}
#define GetType3_doc
#define MkBufferGetType3(...)

◆ rbmkkernel_MkBufferC_IsLocal()

static OT_ProcRet rbmkkernel_MkBufferC_IsLocal ( MkBufferC_ARGS )
static

Ruby: bool buf.IsLocal() C-API
Check if the MkBufferC is local (temporary), not local mean global

Definition at line 564 of file MkBufferC_rb.c.

564 {
569 end: MK_UNUSED /* LONG JUMP on error */
571}
#define OT_retObj_SET_BOL(nat)
#define IsLocal_doc
#define MkBufferIsLocal(...)

◆ rbmkkernel_MkBufferC_Log()

MK_DEPRECATED static MK_UNUSED OT_ProcRet rbmkkernel_MkBufferC_Log ( MkBufferC_ARGS )
static

Definition at line 575 of file MkBufferC_rb.c.

#define OT_ERROR_LNG_RETURN

◆ rbmkkernel_MkBufferC_LogS()

static OT_ProcRet rbmkkernel_MkBufferC_LogS ( MkBufferC_ARGS )
static

Ruby: buf.LogS(?varname:string="buf"?, ?fmtobj:MkObjectC=nil?, ?callfunc:string="MK_NULL"?) C-API
log the short MkBufferC object data to the MkLogFileC (default: stderr) …

Definition at line 578 of file MkBufferC_rb.c.

578 {
581 MK_STRN varname = "buf";
583 MK_OBJN fmtobj = NULL;
585 MK_STRN callfunc = NULL;
588 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
589 MkBufferLogS (hdl, varname, fmtobj, callfunc);
591 end: MK_UNUSED /* LONG JUMP on error */
594}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_FRAME_CLEANUP
#define OT_retObj_SET_None
#define OT_GET_CALL_PROC
#define OT_CHECK_OPTIONAL(val)
#define OT_CHECK_STRN(val)
#define LogS_doc
#define MkBufferLogS(...)
#define MK_NULL_YES
flag, allow NULL
const MK_STRB * MK_STRN
constant string pointer data-type
static bool MkSysStringIsNULL(MK_STRN str)
test if string is NULL or EMPTY …
#define OT_CHECK_OBJN(val, nullB)
object header …