mirror of https://github.com/rusefi/lua.git
34 lines
580 B
C
34 lines
580 B
C
/*
|
|
** Libraries to be used in LUA programs
|
|
** Grupo de Tecnologia em Computacao Grafica
|
|
** TeCGraf - PUC-Rio
|
|
** $Id: lualib.h,v 1.10 1996/08/05 20:55:24 roberto Exp roberto $
|
|
*/
|
|
|
|
#ifndef lualib_h
|
|
#define lualib_h
|
|
|
|
#include "lua.h"
|
|
|
|
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);
|
|
char *luaI_addchar (int c);
|
|
void luaI_addquoted (char *s);
|
|
|
|
char *item_end (char *p);
|
|
int singlematch (int c, char *p);
|
|
|
|
#endif
|
|
|