1
0
mirror of git://projects.qi-hardware.com/nn-usb-fpga.git synced 2025-04-21 12:27:27 +03:00
This commit is contained in:
Carlos Camargo
2010-09-12 19:57:04 -05:00
parent d01e4f4f47
commit 0975cd73dc
74 changed files with 23913 additions and 20 deletions

View File

@@ -113,7 +113,7 @@ static const struct luaL_reg functions[] = {
//This is the init function that will be called when you require 'mylib'
int luaopen_mylib(lua_State *L) {
int luaopen_wrap(lua_State *L) {
luaL_newmetatable(L, metaname);
@@ -126,6 +126,6 @@ int luaopen_mylib(lua_State *L) {
luaL_newmetatable(L,metaname);
return 1;
}
luaL_register(L, "mylib", functions);
luaL_register(L, "wrap", functions);
return 1;
}