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 Jan 11, 2025
1 parent 27ffd8c commit 5c9529f
Show file tree
Hide file tree
Showing 5 changed files with 13,719 additions and 864 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 5c9529f

Please sign in to comment.