'coroutine' library separated from 'baselib'

This commit is contained in:
Roberto Ierusalimschy
2010-06-10 18:30:26 -03:00
parent 0d116c3ada
commit bd262d591f
6 changed files with 169 additions and 153 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lualib.h,v 1.38 2009/07/01 16:16:40 roberto Exp roberto $
** $Id: lualib.h,v 1.39 2009/11/24 12:05:44 roberto Exp roberto $
** Lua standard libraries
** See Copyright Notice in lua.h
*/
@@ -15,9 +15,11 @@
#define LUA_FILEHANDLE "FILE*"
#define LUA_COLIBNAME "coroutine"
LUAMOD_API int (luaopen_base) (lua_State *L);
#define LUA_COLIBNAME "coroutine"
LUAMOD_API int (luaopen_coroutine) (lua_State *L);
#define LUA_TABLIBNAME "table"
LUAMOD_API int (luaopen_table) (lua_State *L);