KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to bind static class function to lua. As you know, static class function is something difference with class function. So function call code in lua should be like this... //C++ lua_tinker::def(L, "Foo_Func", &Foo::Func); //Lua Foo_Func() But I want to call function in lua like this //Lua Foo.Func() Is there any way to use like that? Lua table might be helpful. But I cannot find any references.
Tags (comma-separated)
Save Edits
Cancel