File tree 2 files changed +4
-4
lines changed
godot-core/src/builtin/meta/registration
godot-macros/src/class/data_models
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ impl MethodParamOrReturnInfo {
24
24
}
25
25
26
26
/// All info needed to register a method for a class with Godot.
27
- pub struct MethodInfo {
27
+ pub struct ClassMethodInfo {
28
28
class_name : ClassName ,
29
29
method_name : StringName ,
30
30
call_func : sys:: GDExtensionClassMethodCall ,
@@ -35,7 +35,7 @@ pub struct MethodInfo {
35
35
default_arguments : Vec < Variant > ,
36
36
}
37
37
38
- impl MethodInfo {
38
+ impl ClassMethodInfo {
39
39
/// # Safety
40
40
///
41
41
/// `ptrcall_func`, if provided, must:
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ pub fn make_method_registration(
90
90
#( #cfg_attrs) *
91
91
{
92
92
use :: godot:: obj:: GodotClass ;
93
- use :: godot:: builtin:: meta:: registration:: method:: MethodInfo ;
93
+ use :: godot:: builtin:: meta:: registration:: method:: ClassMethodInfo ;
94
94
use :: godot:: builtin:: { StringName , Variant } ;
95
95
use :: godot:: sys;
96
96
@@ -105,7 +105,7 @@ pub fn make_method_registration(
105
105
// `get_varcall_func` upholds all the requirements for `call_func`.
106
106
// `get_ptrcall_func` upholds all the requirements for `ptrcall_func`
107
107
let method_info = unsafe {
108
- MethodInfo :: from_signature:: <Sig >(
108
+ ClassMethodInfo :: from_signature:: <Sig >(
109
109
#class_name:: class_name( ) ,
110
110
method_name,
111
111
Some ( varcall_func) ,
You can’t perform that action at this time.
0 commit comments