satoren / kaguya

C++ binding to Lua
Boost Software License 1.0
345 stars 70 forks source link

How to register class static member function with default arguments? #85

Open ghost opened 6 years ago

ghost commented 6 years ago

How to register class static member function with default arguments?

class ABC { public: static void func_a(int p1, int p2 = 0); };

satoren commented 6 years ago

static method is same to free function.