#include static void _init_plugin(Lua * L) { LuaInput::pushconstruct(L); LuaOutput::pushconstruct(L); LuaBuffer::pushconstruct(L); LuaHandle::pushconstruct(L); } extern "C" { __attribute__ ((weak)) void init_plugin(Lua * L) { _init_plugin(L); } void luahandle_init(Lua * L) { _init_plugin(L); } }