#include #include static void _init_plugin(Lua * L) { static bool done = false; if (done) return; done = true; CD_PUSHSTATICS(L); } extern "C" { void luacd_init(Lua * L) { _init_plugin(L); } }