summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Chimento <philip.chimento@gmail.com>2017-01-21 21:16:35 -0800
committerBastien Nocera <hadess@hadess.net>2017-01-24 11:04:28 +0100
commit4fbcd18bdf2915760305bae2949f8d98fe5a6817 (patch)
treebf1c04df17377c118295f1de9a9a235d6ebdd12d
parentb001f592066525ff3542337cc36e620ed66f031e (diff)
downloadglib-4fbcd18bdf2915760305bae2949f8d98fe5a6817.tar.gz
introspection: Skip g_mkdtemp() and friends
Based on bugs [1] and [2], gobject-introspection does not handle the same string being 1) returned from an inout argument and 2) returned as the function's return value, and is not going to. Therefore, these functions should be skipped in introspection. [1] https://bugzilla.gnome.org/show_bug.cgi?id=679351 [2] https://bugzilla.gnome.org/show_bug.cgi?id=679362 https://bugzilla.gnome.org/show_bug.cgi?id=777493
-rw-r--r--glib/gfileutils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/glib/gfileutils.c b/glib/gfileutils.c
index c78d2b718..d0967d200 100644
--- a/glib/gfileutils.c
+++ b/glib/gfileutils.c
@@ -1349,7 +1349,7 @@ wrap_g_open (const gchar *filename,
}
/**
- * g_mkdtemp_full:
+ * g_mkdtemp_full: (skip)
* @tmpl: (type filename): template directory name
* @mode: permissions to create the temporary directory with
*
@@ -1382,7 +1382,7 @@ g_mkdtemp_full (gchar *tmpl,
}
/**
- * g_mkdtemp:
+ * g_mkdtemp: (skip)
* @tmpl: (type filename): template directory name
*
* Creates a temporary directory. See the mkdtemp() documentation
@@ -1410,7 +1410,7 @@ g_mkdtemp (gchar *tmpl)
}
/**
- * g_mkstemp_full:
+ * g_mkstemp_full: (skip)
* @tmpl: (type filename): template filename
* @flags: flags to pass to an open() call in addition to O_EXCL
* and O_CREAT, which are passed automatically
@@ -1446,7 +1446,7 @@ g_mkstemp_full (gchar *tmpl,
}
/**
- * g_mkstemp:
+ * g_mkstemp: (skip)
* @tmpl: (type filename): template filename
*
* Opens a temporary file. See the mkstemp() documentation