From 8c113c5c6336105b752bb34a832673a48a903a32 Mon Sep 17 00:00:00 2001 From: Pixel Date: Sun, 8 Nov 2009 05:51:03 +0100 Subject: Reworking all the pre-generated code from iup - bytecode is bad. --- iup/srclua5/il_toggle.c | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) (limited to 'iup/srclua5/il_toggle.c') diff --git a/iup/srclua5/il_toggle.c b/iup/srclua5/il_toggle.c index bea7099..45e3d93 100755 --- a/iup/srclua5/il_toggle.c +++ b/iup/srclua5/il_toggle.c @@ -1,5 +1,5 @@ /****************************************************************************** - * Automatically generated file (iuplua5). Please don't change anything. * + * Automatically generated file (iuplua5). Please don t change anything. * *****************************************************************************/ #include @@ -33,28 +33,7 @@ int iuptogglelua_open(lua_State * L) iuplua_register_cb(L, "ACTION", (lua_CFunction)toggle_action, "toggle"); -#ifdef IUPLUA_USELOH -#ifdef TEC_BIGENDIAN -#ifdef TEC_64 -#include "loh/toggle_be64.loh" -#else -#include "loh/toggle_be32.loh" -#endif -#else -#ifdef TEC_64 -#ifdef WIN64 -#include "loh/toggle_le64w.loh" -#else -#include "loh/toggle_le64.loh" -#endif -#else -#include "loh/toggle.loh" -#endif -#endif -#else - iuplua_dofile(L, "toggle.lua"); -#endif - +#include "clua/toggle.clua" return 0; } -- cgit v1.2.3