You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Remove use of _SCS from ADD_METHOD
This saves typing and is a step towards fixing #56
This commit is contained in:
@@ -1502,6 +1502,6 @@ void RegEx::_bind_methods() {
|
||||
ClassDB::bind_method(_MD("get_group_count"),&RegEx::get_group_count);
|
||||
ClassDB::bind_method(_MD("get_names"),&RegEx::get_names);
|
||||
|
||||
ADD_PROPERTY(PropertyInfo(Variant::STRING, "pattern"), _SCS("compile"), _SCS("get_pattern"));
|
||||
ADD_PROPERTY(PropertyInfo(Variant::STRING, "pattern"), "compile", "get_pattern");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user