mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-22 20:59:03 +00:00
[refactor][components] Restructure the catalogue, sync from internal repo
This commit is contained in:
parent
681e8c744a
commit
89592fc9a3
3357 changed files with 616226 additions and 159127 deletions
22
components/runtime/lua/lhal/llib_init.h
Normal file
22
components/runtime/lua/lhal/llib_init.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
** $Id: llib_init.h $
|
||||
** Lua standard libraries
|
||||
*/
|
||||
|
||||
#ifndef llib_init_h
|
||||
#define llib_init_h
|
||||
|
||||
#include "lua.h"
|
||||
|
||||
LUALIB_API void luaL_preload_llibs(lua_State *L);
|
||||
|
||||
#define LUA_LLIB_CORENAME "core"
|
||||
LUAMOD_API int(luaopen_llib_core)(lua_State *L);
|
||||
|
||||
#define LUA_LLIB_MTIMERNAME "mtimer"
|
||||
LUAMOD_API int(luaopen_llib_mtimer)(lua_State *L);
|
||||
|
||||
#define LUA_LLIB_GPIONAME "gpio"
|
||||
LUAMOD_API int(luaopen_llib_gpio)(lua_State *L);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue