mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03: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:
@@ -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