Definitions for including built-in modules. More...
Definitions for including built-in modules.
The modules must be placed in the tables lua_riot_builtin_lua_table (for lua source code) and lua_riot_builtin_c_table (for C extensions) and the lengths of these tables must be in lua_riot_builtin_lua_table_len and lua_riot_builtin_c_table_len.
These symbols are defined as weak, so there if they are not defined elsewhere they will default to zero (or NULL), that is, empty tables.
Definition in file lua_builtin.h.
|Entry describing a pure lua module whose source is built into the application binary. More...|
|Entry describing a c lua module built into the application binary. More...|
|Attribute to make symbols weak. More...|
|Only the first |
|WEAK const struct lua_riot_builtin_lua *const||lua_riot_builtin_lua_table|
|Table containing all built in pure lua modules. |
|WEAK const size_t||lua_riot_builtin_lua_table_len|
|Number of elements of lua_riot_builtin_lua_table. |
|WEAK const struct lua_riot_builtin_c *const||lua_riot_builtin_c_table|
|Table containing all built in c lua modules. |
|WEAK const size_t||lua_riot_builtin_c_table_len|
|Number of elements of lua_riot_builtin_c_table. |