lua_header.h

mud/src/lua_header.h · 408 B

From the archive lunacy.2010-01-18.tar.gz

Download the archive   « Back to the archive contents

#include "lua.h"
#include "lualib.h"
#include "lauxlib.h"

#define CHV_SETSTRING(ch, field, value) (ch->field = str_dup(value))
#define CHV_SETNUMBER(ch, field, value) (ch->field = atoi(value))    

/* lua_interface.c */
void errorL (char *fmt, ...);
void L_stack_dump( lua_State *L );

/* lua_charlib.c */
void L_register_charlib( lua_State *L );
/* lua_mudlib.c */
void L_register_mudlib ( lua_State *L );

Site Stats

Snippets: 1791
Codebases: 571