Imported Upstream version 1.61.2
[platform/upstream/gobject-introspection.git] / tests / scanner / utility.c
index 5ae5ed3..3af374c 100644 (file)
@@ -1,15 +1,18 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
+
+/* This file gets installed, so we can't assume config.h is available */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include "utility.h"
 
 G_DEFINE_TYPE (UtilityObject, utility_object, G_TYPE_OBJECT);
 
 /**
- * UtilityFlagType: (type bitfield)
- **/
-
-/**
  * UtilityBuffer:
+ * @data: (type gpointer): the data
  *
- * @data: (type pointer): the data
  **/
 
 static void
@@ -34,6 +37,13 @@ utility_object_watch_dir (UtilityObject *object,
 
 }
 
+/**
+ * utility_dir_foreach:
+ * @path::
+ * @func: (scope call):
+ * @user_data::
+ *
+ */
 void
 utility_dir_foreach (const char *path, UtilityFileFunc func, gpointer user_data)
 {