🎉 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!
SetMessageCallback and asCALL_GENERIC...
Hello!
I've just realized that I can't set the message callback function using asCALL_GENERIC calling convention. Why?? I use angelscript in the maximum portability mode, how do I log AS compiler messages?
Just use a normal C global function or a C++ class method, with cdecl or thiscall calling conventions. This works even in max portability mode because the message callback is not called via the VM, and doesn't need assembly routines to be adapted.
Regards,
Andreas
Regards,
Andreas
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement