mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-04 23:07:32 +00:00
Rename the _MD macro to D_METHOD
This new name also makes its purpose a little clearer This is a step towards fixing #56
This commit is contained in:
+2
-2
@@ -65,8 +65,8 @@ void FuncRef::_bind_methods() {
|
||||
|
||||
}
|
||||
|
||||
ClassDB::bind_method(_MD("set_instance","instance"),&FuncRef::set_instance);
|
||||
ClassDB::bind_method(_MD("set_function","name"),&FuncRef::set_function);
|
||||
ClassDB::bind_method(D_METHOD("set_instance","instance"),&FuncRef::set_instance);
|
||||
ClassDB::bind_method(D_METHOD("set_function","name"),&FuncRef::set_function);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user