theKernel 10.0
Loading...
Searching...
No Matches
MkLogFileC_Write_PY_API

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

+ Collaboration diagram for MkLogFileC_Write_PY_API:

Functions

static OT_ProcRet pymkkernel_MkLogFileC_WriteC (MkLogFileC_ARGS)
  Python: lfl.WriteC(text:string) C-API
write to log-file
 
static OT_ProcRet pymkkernel_MkLogFileC_GetFile (MkLogFileC_ARGS)
  Python: string lfl.GetFile() C-API
get the log-file
 

Detailed Description

MkLogFileC - various functions to 'write' into a MkLogFileS

Function Documentation

◆ pymkkernel_MkLogFileC_GetFile()

static OT_ProcRet pymkkernel_MkLogFileC_GetFile ( MkLogFileC_ARGS )
static

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

Definition at line 312 of file MkLogFileC_py.c.

312 {
316 MK_STRN file_out;
317 MkErrorC_Check(hdl,MkLogFileGetFile (hdl, &file_out));
318 OT_retObj_SET_STR(file_out);
319 goto end;
320 error:
322 end:
324}
#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 MkErrorC_Check(mng, PROC)
#define OT_SETUP_hdl
#define GetFile_doc
const MK_STRB * MK_STRN
constant string pointer data-type
#define MkLogFileGetFile(...)

◆ pymkkernel_MkLogFileC_WriteC()

static OT_ProcRet pymkkernel_MkLogFileC_WriteC ( MkLogFileC_ARGS )
static

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

Definition at line 294 of file MkLogFileC_py.c.

294 {
297 MK_STRN text = 0;
300 MkErrorC_Check(hdl,MkLogFileWriteC (hdl, text));
302 goto end;
303 error:
305 end:
307}
#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(...)