summaryrefslogtreecommitdiff
path: root/core/extension
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-03-22 19:22:46 +0100
committerGitHub <noreply@github.com>2022-03-22 19:22:46 +0100
commit9162f27836b13744dd5bb41f3fca2855e6018adf (patch)
tree9d4d2bcfdb34d17abbe8666489698d411a2ea4cc /core/extension
parenta30d17fe23cab95716e4b1bff9dfac21b70b5481 (diff)
parent2f651277dac25ca8628102068929e3cf3e245904 (diff)
Merge pull request #59314 from reduz/add-static-methods-to-classdb
Diffstat (limited to 'core/extension')
-rw-r--r--core/extension/extension_api_dump.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/extension/extension_api_dump.cpp b/core/extension/extension_api_dump.cpp
index 31af28b783..9acc28f51e 100644
--- a/core/extension/extension_api_dump.cpp
+++ b/core/extension/extension_api_dump.cpp
@@ -666,6 +666,7 @@ Dictionary NativeExtensionAPIDump::generate_extension_api() {
Dictionary d2;
d2["name"] = String(method_name);
d2["is_const"] = (F.flags & METHOD_FLAG_CONST) ? true : false;
+ d2["is_static"] = (F.flags & METHOD_FLAG_STATIC) ? true : false;
d2["is_vararg"] = false;
d2["is_virtual"] = true;
// virtual functions have no hash since no MethodBind is involved
@@ -708,6 +709,7 @@ Dictionary NativeExtensionAPIDump::generate_extension_api() {
d2["is_const"] = method->is_const();
d2["is_vararg"] = method->is_vararg();
+ d2["is_static"] = method->is_static();
d2["is_virtual"] = false;
d2["hash"] = method->get_hash();