1

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?

Sherlock Holmes
  • 191
  • 1
  • 8

0 Answers0