diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-07-03 09:49:46 +0200 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-07-05 09:38:28 +0200 |
commit | aa9908e4f601e368517c6f23406e8c15e3f197a3 (patch) | |
tree | 99b80f4c492d5a8aabf15e3f1b7ce743bd77bff6 /scene/gui/panel_container.cpp | |
parent | 270af6fa089ccfb93ace68ada8d476bd902b10fa (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 'scene/gui/panel_container.cpp')
0 files changed, 0 insertions, 0 deletions