first version of `loadlib'

This commit is contained in:
Roberto Ierusalimschy
2003-03-17 10:04:58 -03:00
parent 4734e2de05
commit b0c40e2405
2 changed files with 177 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lualib.h,v 1.25 2002/07/09 18:49:13 roberto Exp roberto $
** $Id: lualib.h,v 1.26 2003/03/11 12:24:34 roberto Exp roberto $
** Lua standard libraries
** See Copyright Notice in lua.h
*/
@@ -36,6 +36,9 @@ LUALIB_API int luaopen_math (lua_State *L);
LUALIB_API int luaopen_debug (lua_State *L);
LUALIB_API int luaopen_loadlib (lua_State *L);
/* to help testing the libraries */
#ifndef lua_assert
#define lua_assert(c) /* empty */