summaryrefslogtreecommitdiff
path: root/core/global_constants.cpp
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2019-07-03 09:49:46 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2019-07-05 09:38:28 +0200
commitaa9908e4f601e368517c6f23406e8c15e3f197a3 (patch)
tree99b80f4c492d5a8aabf15e3f1b7ce743bd77bff6 /core/global_constants.cpp
parent270af6fa089ccfb93ace68ada8d476bd902b10fa (diff)
Script API methods must return Ref<T> instead of Reference*
ptrcall assumes methods that return a Reference type do so with Ref<T>. Returning Reference* from a method exposed to the scripting API completely breaks ptrcalls to this method (it can be quite hard to debug!).
Diffstat (limited to 'core/global_constants.cpp')
0 files changed, 0 insertions, 0 deletions