summaryrefslogtreecommitdiff
path: root/core/object.h
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/object.h
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/object.h')
0 files changed, 0 insertions, 0 deletions