lua/lualib.h

34 lines
580 B
C
Raw Normal View History

1993-07-28 06:18:00 -07:00
/*
1993-12-17 11:01:46 -08:00
** Libraries to be used in LUA programs
1993-07-28 06:18:00 -07:00
** Grupo de Tecnologia em Computacao Grafica
** TeCGraf - PUC-Rio
** $Id: lualib.h,v 1.10 1996/08/05 20:55:24 roberto Exp roberto $
1993-07-28 06:18:00 -07:00
*/
#ifndef lualib_h
#define lualib_h
#include "lua.h"
1993-07-28 06:18:00 -07:00
void iolib_open (void);
void strlib_open (void);
void mathlib_open (void);
/* auxiliar functions (private) */
struct lua_reg {
char *name;
lua_CFunction func;
};
void luaI_openlib (struct lua_reg *l, int n);
1996-01-22 09:38:57 -08:00
char *luaI_addchar (int c);
void luaI_addquoted (char *s);
char *item_end (char *p);
int singlematch (int c, char *p);
1993-07-28 06:18:00 -07:00
#endif
1993-12-17 11:01:46 -08:00