mirror of
git://projects.qi-hardware.com/nn-usb-fpga.git
synced 2025-04-21 12:27:27 +03:00
aaa
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user