I have a class method that returns an int value. When I try to register this function I get the following error:
luaWrap.h(242) : error C2661: 'easyLua::WrapItPush<FLAGS,TYPE>::WrapItPush' : no overloaded function takes 2 arguments
If I register the same function with no return value (void) it compiles and runs just fine. Any idea why the return value is causing problems? I have tried this with a couple of different functions with the same results.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a class method that returns an int value. When I try to register this function I get the following error:
luaWrap.h(242) : error C2661: 'easyLua::WrapItPush<FLAGS,TYPE>::WrapItPush' : no overloaded function takes 2 arguments
If I register the same function with no return value (void) it compiles and runs just fine. Any idea why the return value is causing problems? I have tried this with a couple of different functions with the same results.
Nicely spotted! Sorry I wasn't monitoring the forums, the problem will be fixed in the next release.