Oops! Thanks for correcting me.
I've updated the original post, so as not to cause confusion to others that might read it.
🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
member functions that return an object gets invalid parameter
And it works great. :) I can tell you why it wasn't noticed earlier; I'm actually doing something a bit wierd. I originally had an actual member function bound with asCALL_THISCALL. It worked fine then, and this is what most people do. I did something a little wierd after that - I had to insert code between the script and that member function call, so I did something like
string func(parms,thispointer)
{
//new code here...
thispointer->func(parms);
};
And it worked for awhile. Until I finished roughing it out and actually used the parameters. :/
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement