I am preparing my state and loading libraries like so:
luaL_requiref(L, "libname", luaopen_libname, 1);
After that, when I look at the stack, I can see that every library leaves a value on it (the stack). Should it be like that or should I pop the values?