ran `ninja clang-format`, apparently running it by hand missed some stuff.
Testing Done:
Ran `ninja clang-format` and `ninja test`.
Reviewed at https://reviews.imfreedom.org/r/673/
--- a/gplugin/gplugin-native-plugin.c Wed May 26 04:26:00 2021 -0500
+++ b/gplugin/gplugin-native-plugin.c Wed May 26 16:43:14 2021 -0500
@@ -81,6 +81,12 @@
+/* Apparently clang-format also tries to format code in comments.. But in this + * case it makes it really difficult to understand so we disable it. * GPLUGIN_NATIVE_PLUGIN_DECLARE:
* @name: The prefix of the user defined function names.
@@ -121,6 +127,8 @@
/******************************************************************************
*****************************************************************************/
--- a/gplugin/tests/dynamic-type/dynamic-test.h Wed May 26 04:26:00 2021 -0500
+++ b/gplugin/tests/dynamic-type/dynamic-test.h Wed May 26 16:43:14 2021 -0500
@@ -30,4 +30,3 @@
#endif /* DYNAMIC_TEST_H */
--- a/gplugin/tests/dynamic-type/dynamic-type-provider.c Wed May 26 04:26:00 2021 -0500
+++ b/gplugin/tests/dynamic-type/dynamic-type-provider.c Wed May 26 16:43:14 2021 -0500
@@ -50,9 +50,7 @@
- G_GNUC_UNUSED GError **error)
+dynamic_provider_load(GPluginPlugin *plugin, G_GNUC_UNUSED GError **error) dynamic_test_register_type(G_TYPE_MODULE(plugin));
--- a/gplugin/tests/load-on-query-pass/load-on-query-pass.c Wed May 26 04:26:00 2021 -0500
+++ b/gplugin/tests/load-on-query-pass/load-on-query-pass.c Wed May 26 16:43:14 2021 -0500
@@ -31,9 +31,7 @@
- G_GNUC_UNUSED GPluginPlugin *plugin,
- G_GNUC_UNUSED GError **error)
+loq_pass_load(G_GNUC_UNUSED GPluginPlugin *plugin, G_GNUC_UNUSED GError **error) --- a/gplugin/tests/plugins/basic-plugin.c Wed May 26 04:26:00 2021 -0500
+++ b/gplugin/tests/plugins/basic-plugin.c Wed May 26 16:43:14 2021 -0500
@@ -40,17 +40,13 @@
- G_GNUC_UNUSED GPluginPlugin *plugin,
- G_GNUC_UNUSED GError **error)
+basic_load(G_GNUC_UNUSED GPluginPlugin *plugin, G_GNUC_UNUSED GError **error)
- G_GNUC_UNUSED GPluginPlugin *plugin,
- G_GNUC_UNUSED GError **error)
+basic_unload(G_GNUC_UNUSED GPluginPlugin *plugin, G_GNUC_UNUSED GError **error) --- a/lua/gplugin-lua-core.c Wed May 26 04:26:00 2021 -0500
+++ b/lua/gplugin-lua-core.c Wed May 26 16:43:14 2021 -0500
@@ -75,4 +75,3 @@
GPLUGIN_NATIVE_PLUGIN_DECLARE(gplugin_lua)
--- a/lua/gplugin-lua-test-lgi.c Wed May 26 04:26:00 2021 -0500
+++ b/lua/gplugin-lua-test-lgi.c Wed May 26 16:43:14 2021 -0500
@@ -66,7 +66,7 @@
lua_pushstring(L, "lgi");
ret = lua_pcall(L, 1, 1, 0);
fprintf(stderr, "%s\n", lua_tostring(L, -1));
--- a/perl5/gplugin-perl5-core.c Wed May 26 04:26:00 2021 -0500
+++ b/perl5/gplugin-perl5-core.c Wed May 26 16:43:14 2021 -0500
@@ -74,4 +74,3 @@
GPLUGIN_NATIVE_PLUGIN_DECLARE(gplugin_perl5)
--- a/python3/gplugin-python3-core.c Wed May 26 04:26:00 2021 -0500
+++ b/python3/gplugin-python3-core.c Wed May 26 16:43:14 2021 -0500
@@ -75,4 +75,3 @@
GPLUGIN_NATIVE_PLUGIN_DECLARE(gplugin_python3)