From eed0eb6a476d54ce19aeff137984aa981d9e3976 Mon Sep 17 00:00:00 2001 From: Pixel Date: Tue, 15 Jun 2010 00:59:57 -0700 Subject: Upgrading to iup 3.1 --- iup/srclua5/il_split.c | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 iup/srclua5/il_split.c (limited to 'iup/srclua5/il_split.c') diff --git a/iup/srclua5/il_split.c b/iup/srclua5/il_split.c new file mode 100644 index 0000000..416cc6f --- /dev/null +++ b/iup/srclua5/il_split.c @@ -0,0 +1,31 @@ +/****************************************************************************** + * Automatically generated file (iuplua5). Please don't change anything. * + *****************************************************************************/ + +#include + +#include +#include + +#include "iup.h" +#include "iuplua.h" +#include "il.h" + + +static int Split(lua_State *L) +{ + Ihandle *ih = IupSplit(iuplua_checkihandleornil(L, 1), iuplua_checkihandleornil(L, 2)); + iuplua_plugstate(L, ih); + iuplua_pushihandle_raw(L, ih); + return 1; +} + +int iupsplitlua_open(lua_State * L) +{ + iuplua_register(L, Split, "Split"); + +#include "clua/split.clua" + + return 0; +} + -- cgit v1.2.3