Skip to content

Commit 65046d0

Browse files
authored
Merge pull request #1676 from dsnopek/gdextension-virtual-method-compat
Update for virtual method compatibility system
2 parents 012b8ff + 5c9529f commit 65046d0

File tree

5 files changed

+13719
-864
lines changed

5 files changed

+13719
-864
lines changed

binding_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1682,7 +1682,7 @@ def generate_engine_class_header(class_api, used_classes, fully_used_classes, us
16821682
# condition returns false (in such cases it can't compile due to ambiguity).
16831683
f"\t\tif constexpr (!std::is_same_v<decltype(&B::{method_name}), decltype(&T::{method_name})>) {{"
16841684
)
1685-
result.append(f"\t\t\tBIND_VIRTUAL_METHOD(T, {method_name});")
1685+
result.append(f"\t\t\tBIND_VIRTUAL_METHOD(T, {method_name}, {method['hash']});")
16861686
result.append("\t\t}")
16871687

16881688
result.append("\t}")

0 commit comments

Comments
 (0)