From 69f92fa26c7bef3b042d8da5e520fe60b22e01b7 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Fri, 9 Jul 2021 18:42:30 +0200 Subject: Run clang-format on src/* --- src/init.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/init.cpp') diff --git a/src/init.cpp b/src/init.cpp index f37bc5a..a6066c3 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -64,14 +64,14 @@ godot_error create_peer_connection_wp(godot_object *out) { _singleton_api->godot_string_destroy(&s); // Bind script to Object - const void *args3[] = { (void *)script }; + const void *args3[] = { (void *)script }; _singleton_api->godot_method_bind_ptrcall(_set_script_mb, out, args3, nullptr); return GODOT_OK; } godot_net_webrtc_library library = { - {3, 2}, + { 3, 2 }, &unregistered, &create_peer_connection_wp, NULL, @@ -102,7 +102,6 @@ extern "C" void GDN_EXPORT godot_gdnative_singleton() { extern "C" void GDN_EXPORT godot_gdnative_init(godot_gdnative_init_options *o) { const godot_gdnative_core_api_struct *api = o->api_struct; for (int i = 0; i < api->num_extensions; i++) { - if (api->extensions[i]->type != GDNATIVE_EXT_NET) continue; -- cgit v1.2.3