server/src/console.h

22 lines
381 B
C
Raw Normal View History

2010-08-08 10:06:34 +02:00
#ifndef H_LUA_CONSOLE
#define H_LUA_CONSOLE
#include <stddef.h>
2010-08-08 10:06:34 +02:00
#ifdef __cplusplus
extern "C" {
#endif
struct lua_State;
2011-03-07 08:02:35 +01:00
extern int lua_console(struct lua_State *L);
extern int lua_do(struct lua_State *L);
2010-08-08 10:06:34 +02:00
typedef int (*readline_fun) (struct lua_State *, char *, size_t, const char *);
extern void set_readline(readline_fun foo);
2010-08-08 10:06:34 +02:00
#ifdef __cplusplus
}
#endif
#endif