how to export a static cppfunction with luaState* arg?
zdszx opened this issue · comments
zeldvois commented
my function is:
static int StartToCreate(lua_State* L){}
I write this to export:
EXPORT_FUNCTION(int,StartToCreate,lua_State*)
it has problem like:
UE_STATIC_ASSERT_COMPLETE_TYPE(From, "TPointerIsConvertibleFromTo must not be instantiated with incomplete types");
llint commented
Use ADD_LIB