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:
@ -86,11 +86,11 @@ void ResourceLoader::get_recognized_extensions_for_type(const String& p_type,Lis
|
||||
|
||||
void ResourceInteractiveLoader::_bind_methods() {
|
||||
|
||||
ClassDB::bind_method(_MD("get_resource"),&ResourceInteractiveLoader::get_resource);
|
||||
ClassDB::bind_method(_MD("poll"),&ResourceInteractiveLoader::poll);
|
||||
ClassDB::bind_method(_MD("wait"),&ResourceInteractiveLoader::wait);
|
||||
ClassDB::bind_method(_MD("get_stage"),&ResourceInteractiveLoader::get_stage);
|
||||
ClassDB::bind_method(_MD("get_stage_count"),&ResourceInteractiveLoader::get_stage_count);
|
||||
ClassDB::bind_method(D_METHOD("get_resource"),&ResourceInteractiveLoader::get_resource);
|
||||
ClassDB::bind_method(D_METHOD("poll"),&ResourceInteractiveLoader::poll);
|
||||
ClassDB::bind_method(D_METHOD("wait"),&ResourceInteractiveLoader::wait);
|
||||
ClassDB::bind_method(D_METHOD("get_stage"),&ResourceInteractiveLoader::get_stage);
|
||||
ClassDB::bind_method(D_METHOD("get_stage_count"),&ResourceInteractiveLoader::get_stage_count);
|
||||
}
|
||||
|
||||
class ResourceInteractiveLoaderDefault : public ResourceInteractiveLoader {
|
||||
|
||||
Reference in New Issue
Block a user