diff options
Diffstat (limited to 'rpmio/rpmlua.h')
-rw-r--r-- | rpmio/rpmlua.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/rpmio/rpmlua.h b/rpmio/rpmlua.h index 87418c621..05fe69753 100644 --- a/rpmio/rpmlua.h +++ b/rpmio/rpmlua.h @@ -1,10 +1,6 @@ #ifndef RPMLUA_H #define RPMLUA_H -#ifdef WITH_LUA -#include <lauxlib.h> -#endif - typedef enum rpmluavType_e { RPMLUAV_NIL = 0, RPMLUAV_STRING = 1, @@ -23,9 +19,7 @@ rpmlua rpmluaNew(void); rpmlua rpmluaFree(rpmlua lua); rpmlua rpmluaGetGlobalState(void); -#ifdef WITH_LUA -void rpmluaRegister(rpmlua lua, const luaL_Reg *funcs, const char *lib); -#endif +void rpmluaRegister(rpmlua lua, const void *regfuncs, const char *lib); int rpmluaCheckScript(rpmlua lua, const char *script, const char *name); |