Imported from ../lua-3.0.tar.gz.
[lua.git] / src / auxlib.h
blob09020b46a423f9067d620e6f378053734b48d371
1 /*
2 ** $Id: auxlib.h,v 1.3 1997/04/07 14:48:53 roberto Exp $
3 */
5 #ifndef auxlib_h
6 #define auxlib_h
8 #include "lua.h"
10 struct luaL_reg {
11 char *name;
12 lua_CFunction func;
15 void luaL_openlib (struct luaL_reg *l, int n);
16 void luaL_arg_check(int cond, int numarg, char *extramsg);
17 char *luaL_check_string (int numArg);
18 char *luaL_opt_string (int numArg, char *def);
19 double luaL_check_number (int numArg);
20 double luaL_opt_number (int numArg, double def);
21 void luaL_verror (char *fmt, ...);
25 /* -- private part (only for Lua modules */
27 int luaI_findstring (char *name, char *list[]);
30 #endif