diff options
| author | Juan Linietsky | 2016-08-02 19:11:05 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-08-02 19:11:05 -0300 |
| commit | ad313097ebcb2a0c02c956fdf74a6610c3f7c9a8 (patch) | |
| tree | 2c02ecaaa80bfdcf01e4061f27b808e748cdc580 /core/method_bind.cpp | |
| parent | 221cb58382ae34d4f91d9923fd979a328feabace (diff) | |
| download | godot-ad313097ebcb2a0c02c956fdf74a6610c3f7c9a8.tar.gz godot-ad313097ebcb2a0c02c956fdf74a6610c3f7c9a8.tar.zst godot-ad313097ebcb2a0c02c956fdf74a6610c3f7c9a8.zip | |
Diffstat (limited to 'core/method_bind.cpp')
| -rw-r--r-- | core/method_bind.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/method_bind.cpp b/core/method_bind.cpp index b41fa3388..a99d0af63 100644 --- a/core/method_bind.cpp +++ b/core/method_bind.cpp @@ -64,6 +64,12 @@ void MethodBind::_set_const(bool p_const) { _const=p_const; } +void MethodBind::_set_returns(bool p_returns) { + + _returns=p_returns; +} + + StringName MethodBind::get_name() const { return name; } @@ -118,6 +124,7 @@ MethodBind::MethodBind() { argument_types=NULL; #endif _const=false; + _returns=false; } MethodBind::~MethodBind() { |
