Skip to content

Commit

Permalink
Try #216:
Browse files Browse the repository at this point in the history
  • Loading branch information
bors[bot] authored Apr 5, 2023
2 parents 04c2323 + e69a003 commit c71d421
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions godot-codegen/src/class_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,12 @@ fn make_method_definition(
__method_name.string_sys(),
#hash
);
assert!(
!__method_bind.is_null(),
"failed to load method {}::{} -- possible Godot and gdext version mismatch",
#class_name_str,
#method_name_str
);
let __call_fn = sys::interface_fn!(#function_provider);
};
let varcall_invocation = quote! {
Expand Down

0 comments on commit c71d421

Please sign in to comment.