theKernel 10.0
Loading...
Searching...
No Matches
MkLogFileC_Write_RB_API

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

+ Collaboration diagram for MkLogFileC_Write_RB_API:

Functions

static OT_ProcRet rbmkkernel_MkLogFileC_WriteC (MkLogFileC_ARGS)
  Ruby: lfl.WriteC(text:string) C-API
write to log-file
 
static OT_ProcRet rbmkkernel_MkLogFileC_GetFile (MkLogFileC_ARGS)
  Ruby: string lfl.GetFile() C-API
get the log-file
 

Detailed Description

MkLogFileC - various functions to 'write' into a MkLogFileS

Function Documentation

◆ rbmkkernel_MkLogFileC_GetFile()

static OT_ProcRet rbmkkernel_MkLogFileC_GetFile ( MkLogFileC_ARGS )
static

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

Definition at line 294 of file MkLogFileC_rb.c.

294 {
298 MK_STRN file_out;
299 MkErrorC_Check(hdl,MkLogFileGetFile (hdl, &file_out));
300 OT_retObj_SET_STR(file_out);
301 end: MK_UNUSED /* LONG JUMP on error */
303}
#define OT_SETUP_NOARG(d)
#define OT_retObj_RETURN
#define OT_retObj_SET_STR(nat)
#define OT_CHECK_NOARGS
#define MkErrorC_Check(mng, PROC)
#define OT_SETUP_hdl
#define GetFile_doc
#define MK_UNUSED
mark unnused variables and functions
const MK_STRB * MK_STRN
constant string pointer data-type
#define MkLogFileGetFile(...)

◆ rbmkkernel_MkLogFileC_WriteC()

static OT_ProcRet rbmkkernel_MkLogFileC_WriteC ( MkLogFileC_ARGS )
static

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

Definition at line 279 of file MkLogFileC_rb.c.

279 {
282 MK_STRN text = 0;
285 MkErrorC_Check(hdl,MkLogFileWriteC (hdl, text));
287 end: MK_UNUSED /* LONG JUMP on error */
289}
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_SET_None
#define OT_CHECK_STRN(val)
#define WriteC_doc
#define OT_SETUP_hdl__null_allow
#define MkLogFileWriteC(...)