raze/polymer/eduke32/source/lunatic/lunatic_m32.c
helixhorned 25f6255d28 Lunatic: fix stack discipline.
Preventing a continuously growing stack top and inevitable program termination.
Also, commonize the error handling to live on the engine side.

git-svn-id: https://svn.eduke32.com/eduke32@3352 1a8010ca-5511-0410-912e-c29ae57300e0
2013-01-01 15:24:11 +00:00

16 lines
269 B
C

/* The Lunatic Interpreter, part of EDuke32. Editor stuff. */
#include <lualib.h>
#include "lunatic_m32.h"
int Em_CreateState(L_State *estate)
{
return L_CreateState(estate, "m32", NULL);
}
void Em_DestroyState(L_State *estate)
{
L_DestroyState(estate);
}