summaryrefslogtreecommitdiff
path: root/test/gjs-test-utils.h
diff options
context:
space:
mode:
authorPhilip Chimento <philip.chimento@gmail.com>2019-05-31 22:34:03 -0700
committerPhilip Chimento <philip.chimento@gmail.com>2019-06-08 23:01:56 -0700
commit39786302d2503ae2acbb6007c86d3c1b8e854450 (patch)
tree62544e531d6a76a821a84524c8c001c8fa47cc11 /test/gjs-test-utils.h
parent916677785ed17dc5dde965113820c695c95d936d (diff)
downloadgjs-39786302d2503ae2acbb6007c86d3c1b8e854450.tar.gz
maint: Remove GLib custom types from some files
In files where the IWYU tool would recommend including <glib.h> only for the custom types such as gint or gconstpointer, we instead remove usage of those types in favour of the plain old C types.
Diffstat (limited to 'test/gjs-test-utils.h')
-rw-r--r--test/gjs-test-utils.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/gjs-test-utils.h b/test/gjs-test-utils.h
index 977f4276..669bcd8a 100644
--- a/test/gjs-test-utils.h
+++ b/test/gjs-test-utils.h
@@ -36,13 +36,11 @@ struct _GjsUnitTestFixture {
JSCompartment *compartment;
};
-void gjs_unit_test_fixture_setup(GjsUnitTestFixture *fx,
- gconstpointer unused);
+void gjs_unit_test_fixture_setup(GjsUnitTestFixture* fx, const void* unused);
void gjs_unit_test_destroy_context(GjsUnitTestFixture *fx);
-void gjs_unit_test_fixture_teardown(GjsUnitTestFixture *fx,
- gconstpointer unused);
+void gjs_unit_test_fixture_teardown(GjsUnitTestFixture* fx, const void* unused);
void gjs_test_add_tests_for_coverage ();