theKernel 10.0
Loading...
Searching...
No Matches
MkBufferC_Info_TCL_API

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

+ Collaboration diagram for MkBufferC_Info_TCL_API:

Functions

static OT_ProcRet tclmkkernel_MkBufferC_GetType1 (MkBufferC_ARGS)
  Tcl: string[1] [$buf GetType1] C-API
return the type from a MkBufferC as single character value …
 
static OT_ProcRet tclmkkernel_MkBufferC_GetType2 (MkBufferC_ARGS)
  Tcl: MkTypeE [$buf GetType2] C-API
return the MkTypeE from a MkBufferC
 
static OT_ProcRet tclmkkernel_MkBufferC_GetType3 (MkBufferC_ARGS)
  Tcl: string [$buf GetType3] C-API
return the type from a MkBufferC as single character string …
 
static OT_ProcRet tclmkkernel_MkBufferC_IsLocal (MkBufferC_ARGS)
  Tcl: bool [$buf IsLocal] C-API
Check if the MkBufferC is local (temporary), not local mean global
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet tclmkkernel_MkBufferC_Log (MkBufferC_ARGS)
 
static OT_ProcRet tclmkkernel_MkBufferC_LogS (MkBufferC_ARGS)
  Tcl: $buf LogS ?varname:string="buf"? ?fmtobj:MkObjectC="MK_NULL"? ?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

◆ tclmkkernel_MkBufferC_GetType1()

static OT_ProcRet tclmkkernel_MkBufferC_GetType1 ( MkBufferC_ARGS )
static

Tcl: string[1] [$buf GetType1] C-API
return the type from a MkBufferC as single character value …

Definition at line 603 of file MkBufferC_tcl.c.

603 {
607 char ret_str[2] = {MkBufferGetType1 (hdl), '\0'};
608 OT_retObj_SET_STR(ret_str);
609 goto end;
610 error:
612 end:
614}
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_Error
#define OT_retObj_RETURN
#define OT_retObj_SET_STR(nat)
#define OT_CHECK_NOARGS
#define OT_SETUP_hdl
#define GetType1_doc
#define MkBufferGetType1(...)

◆ tclmkkernel_MkBufferC_GetType2()

static OT_ProcRet tclmkkernel_MkBufferC_GetType2 ( MkBufferC_ARGS )
static

Tcl: MkTypeE [$buf GetType2] C-API
return the MkTypeE from a MkBufferC

Definition at line 617 of file MkBufferC_tcl.c.

617 {
622 goto end;
623 error:
625 end:
627}
#define OT_NEW_Mk_enum_OBJ(typ, val)
#define OT_retObj_SET(val)
#define GetType2_doc
#define MkBufferGetType2(...)

◆ tclmkkernel_MkBufferC_GetType3()

static OT_ProcRet tclmkkernel_MkBufferC_GetType3 ( MkBufferC_ARGS )
static

Tcl: string [$buf GetType3] C-API
return the type from a MkBufferC as single character string …

Definition at line 630 of file MkBufferC_tcl.c.

630 {
635 goto end;
636 error:
638 end:
640}
#define GetType3_doc
#define MkBufferGetType3(...)

◆ tclmkkernel_MkBufferC_IsLocal()

static OT_ProcRet tclmkkernel_MkBufferC_IsLocal ( MkBufferC_ARGS )
static

Tcl: bool [$buf IsLocal] C-API
Check if the MkBufferC is local (temporary), not local mean global

Definition at line 643 of file MkBufferC_tcl.c.

643 {
648 goto end;
649 error:
651 end:
653}
#define OT_retObj_SET_BOL(nat)
#define IsLocal_doc
#define MkBufferIsLocal(...)

◆ tclmkkernel_MkBufferC_Log()

MK_DEPRECATED static MK_UNUSED OT_ProcRet tclmkkernel_MkBufferC_Log ( MkBufferC_ARGS )
static

Definition at line 657 of file MkBufferC_tcl.c.

#define OT_ERROR_LNG_RETURN

◆ tclmkkernel_MkBufferC_LogS()

static OT_ProcRet tclmkkernel_MkBufferC_LogS ( MkBufferC_ARGS )
static

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

Definition at line 660 of file MkBufferC_tcl.c.

660 {
663 MK_STRN varname = "buf";
665 MK_OBJN fmtobj = NULL;
667 MK_STRN callfunc = NULL;
670 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
671 MkBufferLogS (hdl, varname, fmtobj, callfunc);
673 goto end;
674 error:
676 end:
679}
#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 …