check: suppress some g-i warnings
authorTim-Philipp Müller <tim@centricular.com>
Sat, 23 Mar 2019 18:17:43 +0000 (18:17 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 23 Mar 2019 18:17:43 +0000 (18:17 +0000)
gstcheck.c:142: Warning: GstCheck: gst_check_add_log_filter: return value: Invalid non-constant return of bare structure or union; register as boxed type or (skip)
gstcheck.h:178: Warning: GstCheck: gst_check_run_suite: argument suite: Unresolved type: 'Suite*'

libs/gst/check/gstcheck.c

index d24fd4a..9b2227a 100644 (file)
@@ -125,7 +125,7 @@ gst_check_free_log_filter (GstCheckLogFilter * filter)
 
 
 /**
- * gst_check_add_log_filter:
+ * gst_check_add_log_filter: (skip)
  * @log_domain: the log domain of the message
  * @log_level: the log level of the message
  * @regex: (transfer full): a #GRegex to match the message
@@ -1046,6 +1046,14 @@ gst_check_abi_list (GstCheckABIStruct list[], gboolean have_abi_sizes)
   }
 }
 
+/**
+ * gst_check_run_suite: (skip)
+ * @suite: the check test suite
+ * @name: name
+ * @fname: file name
+ *
+ * Returns: number of failed tests
+ */
 gint
 gst_check_run_suite (Suite * suite, const gchar * name, const gchar * fname)
 {