Fix some clang format things

pull/602/head
Bastiaan Olij 2021-09-21 23:55:05 +10:00
parent 38ee8bfcf7
commit fab017c91a
2 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@ public:
InitObject(const GDNativeInterface *p_interface, const GDNativeExtensionClassLibraryPtr p_library, GDNativeInitialization *r_initialization) : InitObject(const GDNativeInterface *p_interface, const GDNativeExtensionClassLibraryPtr p_library, GDNativeInitialization *r_initialization) :
interface(p_interface), interface(p_interface),
library(p_library), library(p_library),
initialization(r_initialization) {}; initialization(r_initialization){};
void register_core_initializer(Callback p_core_init) const; void register_core_initializer(Callback p_core_init) const;
void register_server_initializer(Callback p_server_init) const; void register_server_initializer(Callback p_server_init) const;

View File

@ -53,8 +53,8 @@ void Example::_bind_methods() {
} }
// Properties. // Properties.
ADD_GROUP("Test group","group_"); ADD_GROUP("Test group", "group_");
ADD_SUBGROUP("Test subgroup","group_subgroup_"); ADD_SUBGROUP("Test subgroup", "group_subgroup_");
ClassDB::bind_method(D_METHOD("get_custom_position"), &Example::get_custom_position); ClassDB::bind_method(D_METHOD("get_custom_position"), &Example::get_custom_position);
ClassDB::bind_method(D_METHOD("set_custom_position", "position"), &Example::set_custom_position); ClassDB::bind_method(D_METHOD("set_custom_position", "position"), &Example::set_custom_position);