mirror of
https://github.com/ctruLua/ctruLua.git
synced 2025-10-27 16:39:29 +00:00
Added the PTM services API. Should work.
This commit is contained in:
parent
8f42c4f7ab
commit
cec806bb78
2 changed files with 86 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
|||
int load_gfx_lib(lua_State *L);
|
||||
int load_os_lib(lua_State *L);
|
||||
int load_news_lib(lua_State *L);
|
||||
int load_ptm_lib(lua_State *L);
|
||||
|
||||
static const struct luaL_Reg ctr_lib[] = {
|
||||
{ NULL, NULL }
|
||||
|
|
@ -12,6 +13,7 @@ static const struct luaL_Reg ctr_lib[] = {
|
|||
struct { char *name; int (*load)(lua_State *L); } ctr_libs[] = {
|
||||
{ "gfx", load_gfx_lib },
|
||||
{ "news", load_news_lib },
|
||||
{ "ptm", load_ptm_lib }
|
||||
{ NULL, NULL },
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue