summaryrefslogtreecommitdiff
path: root/iup/srclua5/il_split.c
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2010-06-15 00:59:57 -0700
committerPixel <pixel@nobis-crew.org>2010-06-15 00:59:57 -0700
commiteed0eb6a476d54ce19aeff137984aa981d9e3976 (patch)
tree807891636efd2f87dcbd261e971216269973ae07 /iup/srclua5/il_split.c
parentccc8261e4d48de89da4ddfe7b55e378ae0cd6f47 (diff)
Upgrading to iup 3.1
Diffstat (limited to 'iup/srclua5/il_split.c')
-rw-r--r--iup/srclua5/il_split.c31
1 files changed, 31 insertions, 0 deletions
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 <stdlib.h>
+
+#include <lua.h>
+#include <lauxlib.h>
+
+#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;
+}
+