mirror of
https://github.com/elua/elua.git
synced 2025-01-08 20:56:17 +08:00
30 lines
1.1 KiB
Lua
30 lines
1.1 KiB
Lua
-- eLua reference manual - elua module
|
|
|
|
data_en =
|
|
{
|
|
|
|
-- Title
|
|
title = "eLua reference manual - elua module",
|
|
|
|
-- Menu name
|
|
menu_name = "elua",
|
|
|
|
-- Overview
|
|
overview = [[This module is an interface to the core system and services of eLua. Some functions from this module can change the runtime behaviour of eLua, which in turn can lead to instability or unexpected program behaviour. $Use this module with care$.]],
|
|
|
|
-- Functions
|
|
funcs =
|
|
{
|
|
{ sig = "#elua.egc_setup#( mode, [memlimit] )",
|
|
desc = "Change the emergency garbage collector operation mode and memory limit (see @elua_egc.html@here@ for details).",
|
|
args =
|
|
{
|
|
"$mode$ - the EGC operation mode. Can be either $elua.EGC_NOT_ACTIVE$, $elua.EGC_ON_ALLOC_FAILURE$, $elua.EGC_ON_MEM_LIMIT$, $elua.EGC_ALWAYS$ or a combination between the last 3 modes in this list (they can be combined both with bitwise OR operations, using the @refman_gen_bit.html@bit@ module, or simply by adding them).",
|
|
"$memlimit$ - required only when $elua.EGC_ON_MEM_LIMIT$ is specified in $mode$, specifies the EGC upper memory limit."
|
|
},
|
|
},
|
|
},
|
|
}
|
|
|
|
data_pt = data_en
|