diff options
| author | David Snopek <dsnopek@gmail.com> | 2024-01-25 08:54:58 -0600 |
|---|---|---|
| committer | David Snopek <dsnopek@gmail.com> | 2024-05-07 11:08:18 -0500 |
| commit | a434850069212b2d2dbe70fd82c4e5774b739040 (patch) | |
| tree | dc624f2af43e2033fb7304e879f5d8348feac7d8 /include/godot_cpp/core | |
| parent | 54fe2f9891525891a52c47ffbd190d15c38cccab (diff) | |
| download | redot-cpp-a434850069212b2d2dbe70fd82c4e5774b739040.tar.gz | |
Allow submitting documentation to the Godot editor
Diffstat (limited to 'include/godot_cpp/core')
| -rw-r--r-- | include/godot_cpp/core/method_bind.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/godot_cpp/core/method_bind.hpp b/include/godot_cpp/core/method_bind.hpp index 4afd7b8..eabd6ec 100644 --- a/include/godot_cpp/core/method_bind.hpp +++ b/include/godot_cpp/core/method_bind.hpp @@ -412,6 +412,7 @@ public: method = p_method; generate_argument_types(sizeof...(P)); set_argument_count(sizeof...(P)); + set_const(true); } }; @@ -578,6 +579,7 @@ public: generate_argument_types(sizeof...(P)); set_argument_count(sizeof...(P)); set_return(true); + set_const(true); } }; |
