luabind::module(L)
[
luabind::class_<CompCompiler>("CompCompiler")
.def(luabind::constructor<lua_State>())
.def("setSomeData",&CompCompiler::setSomeData)
.def("setMoreData", &CompCompiler::setMoreData)
.def("getSomeData", &CompCompiler::getSomeData)
.def("getMoreData", &CompCompiler::getMoreData)
];.def(luabind::constructor<lua_State>())
originally the constructor TRIED to accept a lua_state in the constructor, I changed. sigh... the error message didn't help me at all
edit:
lol one problem fixed, another pop's its head up