raze-gles/polymer/eduke32/source/lunatic/lunatic_m32.h

21 lines
329 B
C
Raw Normal View History

#ifndef EDUKE32_LUNATIC_M32_H_
#define EDUKE32_LUNATIC_M32_H_
#include <lua.h>
typedef lua_State Em_State;
Em_State *Em_CreateState(void);
static inline void Em_DestroyState(Em_State *L)
{
lua_close(L);
}
int32_t Em_RunOnce(Em_State *L, const char *fn);
int32_t Em_RunStringOnce(Em_State *L, const char *str);
#endif