summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp/core
diff options
context:
space:
mode:
authorDavid Snopek <dsnopek@gmail.com>2024-01-25 08:54:58 -0600
committerDavid Snopek <dsnopek@gmail.com>2024-05-07 11:08:18 -0500
commita434850069212b2d2dbe70fd82c4e5774b739040 (patch)
treedc624f2af43e2033fb7304e879f5d8348feac7d8 /include/godot_cpp/core
parent54fe2f9891525891a52c47ffbd190d15c38cccab (diff)
downloadredot-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.hpp2
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);
}
};