Imported from ../lua-2.5.tar.gz.
[lua.git] / clients / lib / old / lualib.h
blob6005d7c2a0b4d490d25500ef5f9d682d133680c2
1 /*
2 ** Libraries to be used in LUA programs
3 ** Grupo de Tecnologia em Computacao Grafica
4 ** TeCGraf - PUC-Rio
5 ** $Id: lualib.h,v 1.8 1996/04/30 21:13:55 roberto Exp $
6 */
8 #ifndef lualib_h
9 #define lualib_h
11 #include "lua.h"
13 void iolib_open (void);
14 void strlib_open (void);
15 void mathlib_open (void);
18 /* auxiliar functions (private) */
20 struct lua_reg {
21 char *name;
22 lua_CFunction func;
25 void luaI_openlib (struct lua_reg *l, int n);
26 void lua_arg_error(char *funcname);
27 char *lua_check_string (int numArg, char *funcname);
28 double lua_check_number (int numArg, char *funcname);
29 char *luaI_addchar (int c);
30 void luaI_addquoted (char *s);
32 #endif