how do I extend Lua with a static c++ library?
snippet in lua

how do I extend Lua with a static c++ library?

user3216

luaL_requiref(L, "foo", luaopen_foo, 0);