Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Calls to ObjC functions with const pointer arguments fail #31
I'm calling this method from Lua:
If the method is declared to take a const NSDictionary* like so the call fails:
Declaring the method to take a non-const NSDictionary* works:
In this case it's not tragic because I can just remove the const. But I imagine there may be methods in the iOS SDK or other 3rd party libraries taking const pointers where this would fail.
Looks like wax_copyToObjc needs a WAX_TYPE_CONST_ID switch case.