aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'lauxlib.h')
-rw-r--r--lauxlib.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/lauxlib.h b/lauxlib.h
new file mode 100644
index 00000000..9c616c2b
--- /dev/null
+++ b/lauxlib.h
@@ -0,0 +1,29 @@
1/*
2** $Id: $
3** Auxiliar functions for building Lua libraries
4** See Copyright Notice in lua.h
5*/
6
7
8#ifndef auxlib_h
9#define auxlib_h
10
11
12#include "lua.h"
13
14
15struct luaL_reg {
16 char *name;
17 lua_CFunction func;
18};
19
20void luaL_openlib (struct luaL_reg *l, int n);
21void luaL_arg_check(int cond, int numarg, char *extramsg);
22char *luaL_check_string (int numArg);
23char *luaL_opt_string (int numArg, char *def);
24double luaL_check_number (int numArg);
25double luaL_opt_number (int numArg, double def);
26void luaL_verror (char *fmt, ...);
27
28
29#endif