theKernel 10.0
Loading...
Searching...
No Matches
MkBufferC_Info_ATL_API

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

+ Collaboration diagram for MkBufferC_Info_ATL_API:

Functions

static OT_ProcRet atlmkkernel_MkBufferC_GetType1 (MkBufferC_ARGS)
  Atl: string[1] [MkBufferC::GetType1 $buf] C-API
return the type from a MkBufferC as single character value …
 
static OT_ProcRet atlmkkernel_MkBufferC_GetType2 (MkBufferC_ARGS)
  Atl: MkTypeE [MkBufferC::GetType2 $buf] C-API
return the MkTypeE from a MkBufferC
 
static OT_ProcRet atlmkkernel_MkBufferC_GetType3 (MkBufferC_ARGS)
  Atl: string [MkBufferC::GetType3 $buf] C-API
return the type from a MkBufferC as single character string …
 
static OT_ProcRet atlmkkernel_MkBufferC_IsLocal (MkBufferC_ARGS)
  Atl: bool [MkBufferC::IsLocal $buf] C-API
Check if the MkBufferC is local (temporary), not local mean global
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet atlmkkernel_MkBufferC_Log (MkBufferC_ARGS)
 
static OT_ProcRet atlmkkernel_MkBufferC_LogS (MkBufferC_ARGS)
  Atl: MkBufferC::LogS $buf ?varname:string="buf"? ?fmtobj:MkObjectC=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

◆ atlmkkernel_MkBufferC_GetType1()

static OT_ProcRet atlmkkernel_MkBufferC_GetType1 ( MkBufferC_ARGS )
static

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

Definition at line 582 of file MkBufferC_atl.c.

582 {
586 char ret_str[2] = {MkBufferGetType1 (hdl), '\0'};
587 OT_retObj_SET_STR(ret_str);
588 goto end;
589 error:
591 end:
593}
#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(...)

◆ atlmkkernel_MkBufferC_GetType2()

static OT_ProcRet atlmkkernel_MkBufferC_GetType2 ( MkBufferC_ARGS )
static

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

Definition at line 596 of file MkBufferC_atl.c.

596 {
601 goto end;
602 error:
604 end:
606}
#define OT_NEW_Mk_enum_OBJ(typ, val)
#define OT_retObj_SET(val)
#define GetType2_doc
#define MkBufferGetType2(...)

◆ atlmkkernel_MkBufferC_GetType3()

static OT_ProcRet atlmkkernel_MkBufferC_GetType3 ( MkBufferC_ARGS )
static

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

Definition at line 609 of file MkBufferC_atl.c.

609 {
614 goto end;
615 error:
617 end:
619}
#define GetType3_doc
#define MkBufferGetType3(...)

◆ atlmkkernel_MkBufferC_IsLocal()

static OT_ProcRet atlmkkernel_MkBufferC_IsLocal ( MkBufferC_ARGS )
static

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

Definition at line 622 of file MkBufferC_atl.c.

622 {
627 goto end;
628 error:
630 end:
632}
#define OT_retObj_SET_BOL(nat)
#define IsLocal_doc
#define MkBufferIsLocal(...)

◆ atlmkkernel_MkBufferC_Log()

MK_DEPRECATED static MK_UNUSED OT_ProcRet atlmkkernel_MkBufferC_Log ( MkBufferC_ARGS )
static

Definition at line 636 of file MkBufferC_atl.c.

#define OT_ERROR_LNG_RETURN

◆ atlmkkernel_MkBufferC_LogS()

static OT_ProcRet atlmkkernel_MkBufferC_LogS ( MkBufferC_ARGS )
static

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

Definition at line 639 of file MkBufferC_atl.c.

639 {
642 MK_STRN varname = "buf";
644 MK_OBJN fmtobj = NULL;
646 MK_STRN callfunc = NULL;
649 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
650 MkBufferLogS (hdl, varname, fmtobj, callfunc);
652 goto end;
653 error:
655 end:
658}
#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 …