mirror of https://github.com/lua/lua.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
661 B
33 lines
661 B
/*
|
|
** Libraries to be used in LUA programs
|
|
** Grupo de Tecnologia em Computacao Grafica
|
|
** TeCGraf - PUC-Rio
|
|
** $Id: lualib.h,v 1.7 1996/03/14 15:53:09 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);
|
|
void lua_arg_error(char *funcname);
|
|
char *lua_check_string (int numArg, char *funcname);
|
|
double lua_check_number (int numArg, char *funcname);
|
|
char *luaI_addchar (int c);
|
|
void luaI_addquoted (char *s);
|
|
|
|
#endif
|
|
|
|
|