Browse Source

Lua standard libraries

v5-2
Roberto Ierusalimschy 28 years ago
parent
commit
9f3785a2f3
  1. 27
      lualib.h

27
lualib.h

@ -1,18 +1,28 @@
/* /*
** Libraries to be used in LUA programs ** $Id: $
** Grupo de Tecnologia em Computacao Grafica ** Lua standard libraries
** TeCGraf - PUC-Rio ** See Copyright Notice in lua.h
** $Id: lualib.h,v 1.12 1997/03/18 15:30:50 roberto Exp roberto $
*/ */
#ifndef lualib_h #ifndef lualib_h
#define lualib_h #define lualib_h
#include "lua.h" #include "lua.h"
void iolib_open (void);
void strlib_open (void); void lua_iolibopen (void);
void mathlib_open (void); void lua_strlibopen (void);
void lua_mathlibopen (void);
/* To keep compatibility with old versions */
#define iolib_open lua_iolibopen
#define strlib_open lua_strlibopen
#define mathlib_open lua_mathlibopen
@ -22,8 +32,7 @@ char *luaI_addchar (int c);
void luaI_emptybuff (void); void luaI_emptybuff (void);
void luaI_addquoted (char *s); void luaI_addquoted (char *s);
char *luaL_item_end (char *p); int luaI_singlematch (int c, char *p, char **ep);
int luaL_singlematch (int c, char *p);
#endif #endif

Loading…
Cancel
Save