@@ -39,7 +39,7 @@ pub trait VarcallSignatureTuple: PtrcallSignatureTuple {
3939 ) ;
4040
4141 unsafe fn out_class_varcall (
42- method_bind : sys :: GDExtensionMethodBindPtr ,
42+ method_bind : ClassMethodBind ,
4343 method_name : & ' static str ,
4444 object_ptr : sys:: GDExtensionObjectPtr ,
4545 maybe_instance_id : Option < InstanceId > , // if not static
@@ -74,7 +74,7 @@ pub trait PtrcallSignatureTuple {
7474 ) ;
7575
7676 unsafe fn out_class_ptrcall < Rr : PtrcallReturn < Ret = Self :: Ret > > (
77- method_bind : sys :: GDExtensionMethodBindPtr ,
77+ method_bind : ClassMethodBind ,
7878 method_name : & ' static str ,
7979 object_ptr : sys:: GDExtensionObjectPtr ,
8080 maybe_instance_id : Option < InstanceId > , // if not static
@@ -202,7 +202,7 @@ macro_rules! impl_varcall_signature_for_tuple {
202202 let variant = Variant :: from_var_sys_init( |return_ptr| {
203203 let mut err = sys:: default_call_error( ) ;
204204 class_fn(
205- method_bind,
205+ method_bind. 0 ,
206206 object_ptr,
207207 variant_ptrs. as_ptr( ) ,
208208 variant_ptrs. len( ) as i64 ,
@@ -318,7 +318,7 @@ macro_rules! impl_ptrcall_signature_for_tuple {
318318 ] ;
319319
320320 let result = Rr :: call( |return_ptr| {
321- class_fn( method_bind, object_ptr, type_ptrs. as_ptr( ) , return_ptr) ;
321+ class_fn( method_bind. 0 , object_ptr, type_ptrs. as_ptr( ) , return_ptr) ;
322322 } ) ;
323323 result. unwrap_or_else( |err| return_error:: <Self :: Ret >( method_name, err) )
324324 }
0 commit comments