mirror of
https://github.com/lua/lua.git
synced 2025-07-04 23:19:38 +00:00
new macro LUALIB_API (so the lib can be a separate DLL)
This commit is contained in:
parent
e2b6b7de1b
commit
2cbbf3933a
8 changed files with 62 additions and 52 deletions
4
liolib.c
4
liolib.c
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: liolib.c,v 1.88 2000/10/26 12:47:05 roberto Exp roberto $
|
||||
** $Id: liolib.c,v 1.89 2000/10/26 12:53:55 roberto Exp roberto $
|
||||
** Standard I/O (and system) library
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
@ -712,7 +712,7 @@ static void openwithcontrol (lua_State *L) {
|
|||
}
|
||||
|
||||
|
||||
LUA_API void lua_iolibopen (lua_State *L) {
|
||||
LUALIB_API void lua_iolibopen (lua_State *L) {
|
||||
luaL_openl(L, iolib);
|
||||
openwithcontrol(L);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue