gplugin/gplugin

Parents 3c33bd5d2f15
Children d03aa8e308ea
apparently we don't need to update the package path, i'll need to verify this on linux later
--- a/lua/gplugin-lua-test-lgi.c Sat Dec 19 11:59:39 2015 -0600
+++ b/lua/gplugin-lua-test-lgi.c Sat Dec 19 23:19:19 2015 -0600
@@ -47,16 +47,13 @@
L = luaL_newstate();
if(L == NULL) {
- printf("fml\n");
return 134;
}
luaL_openlibs(L);
/* add some additional paths to package.path */
- _add_require_path(L, "/usr/local/lib/luarocks/rocks");
-
- luaL_dostring(L, "print(package.path)");
+ //_add_require_path(L, "/usr/local/lib/luarocks/rocks");
/* now try to do the require */
lua_getglobal(L, "require");