From 3ff1d150a13a63db0cefd4cacb0d083254dbc38e Mon Sep 17 00:00:00 2001 From: scuri Date: Mon, 7 Jun 2010 20:55:33 +0000 Subject: *** empty log message *** --- src/lua5/imlua_fftw.c | 31 ++++++++++--------------------- 1 file changed, 10 insertions(+), 21 deletions(-) (limited to 'src/lua5/imlua_fftw.c') diff --git a/src/lua5/imlua_fftw.c b/src/lua5/imlua_fftw.c index c8ad3df..f25f9c3 100644 --- a/src/lua5/imlua_fftw.c +++ b/src/lua5/imlua_fftw.c @@ -2,7 +2,7 @@ * \brief IM Lua 5 Binding * * See Copyright Notice in im_lib.h - * $Id: imlua_fftw.c,v 1.2 2008/11/26 17:25:51 scuri Exp $ + * $Id: imlua_fftw.c,v 1.3 2010/06/07 20:59:32 scuri Exp $ */ #include @@ -131,23 +131,17 @@ static const luaL_reg imfftw_lib[] = { int imlua_open_fftw (lua_State *L) { luaL_register(L, "im", imfftw_lib); /* leave "im" table at the top of the stack */ -#ifdef TEC_BIGENDIAN -#ifdef TEC_64 -#include "loh/im_fftw_be64.loh" -#else -#include "loh/im_fftw_be32.loh" -#endif -#else -#ifdef TEC_64 -#ifdef WIN64 -#include "loh/im_fftw_le64w.loh" + +#ifdef IMLUA_USELOH +#include "im_fftw.loh" #else -#include "loh/im_fftw_le64.loh" -#endif +#ifdef IMLUA_USELZH +#include "im_fftw.lzh" #else -#include "loh/im_fftw.loh" -#endif -#endif + luaL_dofile(L, "im_fftw.lua"); +#endif +#endif + return 1; } @@ -155,8 +149,3 @@ int luaopen_imlua_fftw(lua_State *L) { return imlua_open_fftw(L); } - -int luaopen_imlua_fftw51(lua_State *L) -{ - return imlua_open_fftw(L); -} -- cgit v1.2.3