2012-11-10 20:59:00 +00:00
|
|
|
/* The Lunatic Interpreter, part of EDuke32. Editor stuff. */
|
2012-10-07 15:25:52 +00:00
|
|
|
|
2013-10-16 19:43:06 +00:00
|
|
|
#ifdef USE_LUAJIT_2_1
|
|
|
|
# include <luajit-2.1/lualib.h>
|
|
|
|
#else
|
|
|
|
# include <luajit-2.0/lualib.h>
|
|
|
|
#endif
|
2012-10-07 15:25:52 +00:00
|
|
|
|
|
|
|
#include "lunatic_m32.h"
|
|
|
|
|
|
|
|
|
2012-11-10 20:59:00 +00:00
|
|
|
int Em_CreateState(L_State *estate)
|
2012-10-07 15:25:52 +00:00
|
|
|
{
|
2013-01-01 15:24:11 +00:00
|
|
|
return L_CreateState(estate, "m32", NULL);
|
2012-10-07 15:26:04 +00:00
|
|
|
}
|
|
|
|
|
2012-11-10 20:59:00 +00:00
|
|
|
void Em_DestroyState(L_State *estate)
|
2012-10-07 15:26:04 +00:00
|
|
|
{
|
2012-11-10 20:59:00 +00:00
|
|
|
L_DestroyState(estate);
|
2012-10-07 15:25:52 +00:00
|
|
|
}
|