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.
30 lines
536 B
30 lines
536 B
28 years ago
|
/*
|
||
28 years ago
|
** $Id: $
|
||
|
** Auxiliar functions for building Lua libraries
|
||
|
** See Copyright Notice in lua.h
|
||
28 years ago
|
*/
|
||
|
|
||
28 years ago
|
|
||
28 years ago
|
#ifndef auxlib_h
|
||
|
#define auxlib_h
|
||
|
|
||
28 years ago
|
|
||
28 years ago
|
#include "lua.h"
|
||
|
|
||
28 years ago
|
|
||
28 years ago
|
struct luaL_reg {
|
||
|
char *name;
|
||
|
lua_CFunction func;
|
||
|
};
|
||
|
|
||
|
void luaL_openlib (struct luaL_reg *l, int n);
|
||
28 years ago
|
void luaL_arg_check(int cond, int numarg, char *extramsg);
|
||
|
char *luaL_check_string (int numArg);
|
||
|
char *luaL_opt_string (int numArg, char *def);
|
||
|
double luaL_check_number (int numArg);
|
||
|
double luaL_opt_number (int numArg, double def);
|
||
28 years ago
|
void luaL_verror (char *fmt, ...);
|
||
|
|
||
28 years ago
|
|
||
28 years ago
|
#endif
|