theKernel 10.0
Loading...
Searching...
No Matches
MkLogFileC_Write_CS_API

MkLogFileC - various functions to 'write' into a MkLogFileSMore...

+ Collaboration diagram for MkLogFileC_Write_CS_API:

Functions

void csmkkernel.MkLogFileC.WriteC (string text)
  C#: lfl.WriteC(string text) C-API
write to log-file
 
string csmkkernel.MkLogFileC.GetFile ()
  C#: string lfl.GetFile() C-API
get the log-file
 

Detailed Description

MkLogFileC - various functions to 'write' into a MkLogFileS

Function Documentation

◆ GetFile()

string csmkkernel.MkLogFileC.GetFile ( )
inline

C#: string lfl.GetFile() C-API
get the log-file

Definition at line 200 of file MkLogFileC.cs.

200 {
201 IntPtr file_out;
202 MkErrorE errVal = Mk.MkLogFileGetFile(mkrt, hdl, out file_out);
203 MkErrorC.Check(hdl, errVal);
204 return Marshal.PtrToStringAnsi(file_out);
205 }
csmkkernel.MkKernel Mk
MkErrorE
collection for the different error-codes …

◆ WriteC()

void csmkkernel.MkLogFileC.WriteC ( string text)
inline

C#: lfl.WriteC(string text) C-API
write to log-file

Definition at line 190 of file MkLogFileC.cs.

190 {
191 IntPtr text_cstr = Marshal.StringToHGlobalAnsi(text);
192 MkErrorE errVal = Mk.MkLogFileWriteC(mkrt, hdl_null_allow, text_cstr);
193 Marshal.FreeHGlobal(text_cstr);
194 MkErrorC.Check(hdl_null_allow, errVal);
195 }