Skip to content

Commit

Permalink
Update for virtual method compatibility system
Browse files Browse the repository at this point in the history
  • Loading branch information
dsnopek committed Dec 20, 2024
1 parent 27ffd8c commit 573c608
Show file tree
Hide file tree
Showing 5 changed files with 12,317 additions and 519 deletions.
2 changes: 1 addition & 1 deletion binding_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1788,7 +1788,7 @@ def generate_engine_class_header(class_api, used_classes, fully_used_classes, us
# condition returns false (in such cases it can't compile due to ambiguity).
f"\t\tif constexpr (!std::is_same_v<decltype(&B::{method_name}), decltype(&T::{method_name})>) {{"
)
result.append(f"\t\t\tBIND_VIRTUAL_METHOD(T, {method_name});")
result.append(f"\t\t\tBIND_VIRTUAL_METHOD(T, {method_name}, {method['hash']});")
result.append("\t\t}")

result.append("\t}")
Expand Down
Loading

0 comments on commit 573c608

Please sign in to comment.