Not sure if this is a bug or if we've been getting functions from generic parameters the wrong way this whole time.
Say we have a funcdef "void SomeFuncdef()", and we have an engine function registered as "void DoSomething(SomeFuncdef@ foo)" with asCALL_GENERIC.
In the function we were previously using something like (asIScriptFunction*)gen->GetArgObject(0), which now doesn't work anymore since 2.31.0 (and also the latest WIP SVN revision) says that funcdef types are not objects. We can fix this by using GetArgAddress() instead. Is this the intended way of doing things?
Thanks!