mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-17 01:41:06 +00:00
20 lines
273 B
C
20 lines
273 B
C
|
#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);
|
||
|
|
||
|
#endif
|