diff options
author | Oliver Schneider <oliver@assarbad.net> | 2012-10-25 18:16:05 +0400 |
---|---|---|
committer | Oliver Schneider <oliver@assarbad.net> | 2012-10-25 18:16:05 +0400 |
commit | 98f3e1b06e26678163548a4b945fc4b97a56e678 (patch) | |
tree | 5ac15752b320fd9411fdcf705b152d2388b4f7c1 /windirstat/WDS_Lua_C.c | |
parent | 58a1166135df0f9ced8229da1248e696bf1c429d (diff) |
- Adding dbgprint() function
Diffstat (limited to 'windirstat/WDS_Lua_C.c')
-rw-r--r-- | windirstat/WDS_Lua_C.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/windirstat/WDS_Lua_C.c b/windirstat/WDS_Lua_C.c index 53bfef5..1250a88 100644 --- a/windirstat/WDS_Lua_C.c +++ b/windirstat/WDS_Lua_C.c @@ -68,6 +68,8 @@ #include "modules/winreg.c"
#include "modules/isadmin.c"
#include "modules/wow64.c"
+#include "modules/dbgprint.c"
+#include "modules/w32resembed.c"
// Cheat a bit to redefine the list of "default" libraries ...
#ifndef WDS_LUA_NO_INIT
@@ -104,6 +106,7 @@ lua_State* luaWDS_open() luaWDS_openlibs_(L); /* open libraries */
luaL_register(L, LUA_OSLIBNAME, wow64_funcs);
luaL_register(L, LUA_OSLIBNAME, isadmin_funcs);
+ luaL_register(L, LUA_OSLIBNAME, dbgprint_funcs);
lua_gc(L, LUA_GCRESTART, 0); /* resume GC */
}
return L;
|