theKernel 10.0
Loading...
Searching...
No Matches
MkBufferC_Info_CS_API

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

+ Collaboration diagram for MkBufferC_Info_CS_API:

Functions

char csmkkernel.MkBufferC.GetType1 ()
  C#: char buf.GetType1() C-API
return the type from a MkBufferC as single character value …
 
MkTypeE csmkkernel.MkBufferC.GetType2 ()
  C#: MkTypeE buf.GetType2() C-API
return the MkTypeE from a MkBufferC
 
string csmkkernel.MkBufferC.GetType3 ()
  C#: string buf.GetType3() C-API
return the type from a MkBufferC as single character string …
 
bool csmkkernel.MkBufferC.IsLocal ()
  C#: bool buf.IsLocal() C-API
Check if the MkBufferC is local (temporary), not local mean global
 
void csmkkernel.MkBufferC.LogS (string varname="buf", MkObjectC fmtobj=null, [CallerMemberName]string callfunc=null)
  C#: buf.LogS(string varname = "buf", MkObjectC fmtobj = null, [CallerMemberName]string callfunc = 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

◆ GetType1()

char csmkkernel.MkBufferC.GetType1 ( )
inline

C#: char buf.GetType1() C-API
return the type from a MkBufferC as single character value …

Definition at line 321 of file MkBufferC.cs.

321 {
322 Char __retVal__L = Mk.MkBufferGetType1(mkrt, hdl);
323 return __retVal__L;
324 }
csmkkernel.MkKernel Mk
+ Here is the caller graph for this function:

◆ GetType2()

MkTypeE csmkkernel.MkBufferC.GetType2 ( )
inline

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

Definition at line 327 of file MkBufferC.cs.

327 {
328 MkTypeE __retVal__L = Mk.MkBufferGetType2(mkrt, hdl);
329 return __retVal__L;
330 }
MkTypeE
basic data-types supported by Programming-Language-Micro-Kernel (PLMK) …

◆ GetType3()

string csmkkernel.MkBufferC.GetType3 ( )
inline

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

Definition at line 333 of file MkBufferC.cs.

333 {
334 IntPtr __retVal__L = Mk.MkBufferGetType3(mkrt, hdl);
335 return Marshal.PtrToStringAnsi(__retVal__L);
336 }

◆ IsLocal()

bool csmkkernel.MkBufferC.IsLocal ( )
inline

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

Definition at line 339 of file MkBufferC.cs.

339 {
340 bool __retVal__L = Mk.MkBufferIsLocal(mkrt, hdl);
341 return __retVal__L;
342 }

◆ LogS()

void csmkkernel.MkBufferC.LogS ( string varname = "buf",
MkObjectC fmtobj = null,
[CallerMemberName] string callfunc = null )
inline

C#: buf.LogS(string varname = "buf", MkObjectC fmtobj = null, [CallerMemberName]string callfunc = null) C-API
log the short MkBufferC object data to the MkLogFileC (default: stderr) …

Definition at line 347 of file MkBufferC.cs.

347 {
348 IntPtr fmtobj_hdl = MkObjectC.getOBJ_null_allow(fmtobj);
349 IntPtr varname_cstr = Marshal.StringToHGlobalAnsi(varname);
350 IntPtr callfunc_cstr = Marshal.StringToHGlobalAnsi(callfunc);
351 Mk.MkBufferLogS(mkrt, hdl, varname_cstr, fmtobj_hdl, callfunc_cstr);
352 Marshal.FreeHGlobal(varname_cstr);
353 Marshal.FreeHGlobal(callfunc_cstr);
354 }
MkObjectC(IntPtr obj)
Definition MkObjectC.cs:121