]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/scripting.h
avoid vast number of warnings with clang compiler
[proxmark3-svn] / client / scripting.h
index 58e5359e7a3fc63c681d790eefb6f8c9cbc8cd0c..1d35d78a3eb2ac579c47e54177dfad515ae2e1d7 100644 (file)
 
 #include <lua.h>
 
 
 #include <lua.h>
 
+#define LUA_LIBRARIES_DIRECTORY        "lualibs/"
+#define LUA_SCRIPTS_DIRECTORY          "scripts/"
+#define LUA_LIBRARIES_WILDCARD                 "?.lua"
+
 /**
  * @brief set_libraries loads the core components of pm3 into the 'pm3'
  *  namespace within the given lua_State
  * @param L
  */
 
 /**
  * @brief set_libraries loads the core components of pm3 into the 'pm3'
  *  namespace within the given lua_State
  * @param L
  */
 
-void set_pm3_libraries(lua_State *L);
+int set_pm3_libraries(lua_State *L);
 
 #endif
 
 #endif
Impressum, Datenschutz