theConfig 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - py - rb - jv - cc
Loading...
Searching...
No Matches
LcConfig_Setup_C_API

LcConfig PACKAGE - setup library and Programming-Language-Micro-Kernel (PLMK)More...

+ Collaboration diagram for LcConfig_Setup_C_API:

Typedefs

typedef void(* LcSetupThreadF) (MK_RT_ARGS_ONLY)
 prototype of the runtime-callback
 

Functions

LC_EXTERN void LcSetup (void)
 setup liblcconfig internal memory …
 
LC_EXTERN void LcCleanup (void)
 cleanup liblcconfig internal memory …
 
LC_EXTERN void LcSetupThreadCallback (LcSetupThreadF call)
 callback used to register a new runtime
 

Detailed Description

LcConfig PACKAGE - setup library and Programming-Language-Micro-Kernel (PLMK)

For details about Setup and Cleanup usage refer to MkKernel_Setup_libmkkernel_C_API

Typedef Documentation

◆ LcSetupThreadF

typedef void( * LcSetupThreadF) (MK_RT_ARGS_ONLY)

prototype of the runtime-callback

Definition at line 515 of file LibLcConfig_lc.h.

Function Documentation

◆ LcCleanup()

LC_EXTERN void LcCleanup ( void )

cleanup liblcconfig internal memory …

LcCleanup can only be called once and will be ignored if not called in the same thread as LcSetup. after a call to LcSetup the call to LcCleanup is possible again.

Attention
during cleanup objects will be deleted too -> the language interpreter have to be active
the LcCleanup will call the MkCleanup also.

◆ LcSetup()

LC_EXTERN void LcSetup ( void )

setup liblcconfig internal memory …

LcSetup can only be called once, additional call's will be ignored until a LcCleanup is called.

Attention
the LcSetup will call the MkSetup also.

◆ LcSetupThreadCallback()

LC_EXTERN void LcSetupThreadCallback ( LcSetupThreadF call)

callback used to register a new runtime

read more at: MkRuntimeCallbackAdd