Browse Source

new header for auxiliar functions.

v5-2
Roberto Ierusalimschy 28 years ago
parent
commit
fa08b42dd8
  1. 23
      auxlib.h

23
auxlib.h

@ -0,0 +1,23 @@
/*
** $Id: $
*/
#ifndef auxlib_h
#define auxlib_h
#include "lua.h"
struct luaL_reg {
char *name;
lua_CFunction func;
};
void luaL_openlib (struct luaL_reg *l, int n);
void luaL_arg_check(int cond, char *funcname, int numarg, char *extramsg);
char *luaL_check_string (int numArg, char *funcname);
char *luaL_opt_string (int numArg, char *def, char *funcname);
double luaL_check_number (int numArg, char *funcname);
double luaL_opt_number (int numArg, double def, char *funcname);
void luaL_verror (char *fmt, ...);
#endif
Loading…
Cancel
Save