theKernel 10.0
Loading...
Searching...
No Matches
MkBufferC_Info_PY_API

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

+ Collaboration diagram for MkBufferC_Info_PY_API:

Functions

static OT_ProcRet pymkkernel_MkBufferC_GetType1 (MkBufferC_ARGS)
  Python: string[1] buf.GetType1() C-API
return the type from a MkBufferC as single character value …
 
static OT_ProcRet pymkkernel_MkBufferC_GetType2 (MkBufferC_ARGS)
  Python: MkTypeE buf.GetType2() C-API
return the MkTypeE from a MkBufferC
 
static OT_ProcRet pymkkernel_MkBufferC_GetType3 (MkBufferC_ARGS)
  Python: string buf.GetType3() C-API
return the type from a MkBufferC as single character string …
 
static OT_ProcRet pymkkernel_MkBufferC_IsLocal (MkBufferC_ARGS)
  Python: bool buf.IsLocal() C-API
Check if the MkBufferC is local (temporary), not local mean global
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet pymkkernel_MkBufferC_Log (MkBufferC_ARGS)
 
static OT_ProcRet pymkkernel_MkBufferC_LogS (MkBufferC_ARGS)
  Python: buf.LogS(?varname:string="buf"?, ?fmtobj:MkObjectC=None?, ?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

◆ pymkkernel_MkBufferC_GetType1()

static OT_ProcRet pymkkernel_MkBufferC_GetType1 ( MkBufferC_ARGS )
static

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

Definition at line 590 of file MkBufferC_py.c.

590 {
594 char ret_str[2] = {MkBufferGetType1 (hdl), '\0'};
595 OT_retObj_SET_STR(ret_str);
596 goto end;
597 error:
599 end:
601}
#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(...)

◆ pymkkernel_MkBufferC_GetType2()

static OT_ProcRet pymkkernel_MkBufferC_GetType2 ( MkBufferC_ARGS )
static

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

Definition at line 604 of file MkBufferC_py.c.

604 {
609 goto end;
610 error:
612 end:
614}
#define OT_NEW_Mk_enum_OBJ(typ, val)
#define OT_retObj_SET(val)
#define GetType2_doc
#define MkBufferGetType2(...)

◆ pymkkernel_MkBufferC_GetType3()

static OT_ProcRet pymkkernel_MkBufferC_GetType3 ( MkBufferC_ARGS )
static

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

Definition at line 617 of file MkBufferC_py.c.

617 {
622 goto end;
623 error:
625 end:
627}
#define GetType3_doc
#define MkBufferGetType3(...)

◆ pymkkernel_MkBufferC_IsLocal()

static OT_ProcRet pymkkernel_MkBufferC_IsLocal ( MkBufferC_ARGS )
static

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

Definition at line 630 of file MkBufferC_py.c.

630 {
635 goto end;
636 error:
638 end:
640}
#define OT_retObj_SET_BOL(nat)
#define IsLocal_doc
#define MkBufferIsLocal(...)

◆ pymkkernel_MkBufferC_Log()

MK_DEPRECATED static MK_UNUSED OT_ProcRet pymkkernel_MkBufferC_Log ( MkBufferC_ARGS )
static

Definition at line 644 of file MkBufferC_py.c.

#define OT_ERROR_LNG_RETURN

◆ pymkkernel_MkBufferC_LogS()

static OT_ProcRet pymkkernel_MkBufferC_LogS ( MkBufferC_ARGS )
static

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

Definition at line 647 of file MkBufferC_py.c.

647 {
650 MK_STRN varname = "buf";
652 MK_OBJN fmtobj = NULL;
654 MK_STRN callfunc = NULL;
657 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
658 MkBufferLogS (hdl, varname, fmtobj, callfunc);
660 goto end;
661 error:
663 end:
666}
#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 …