summaryrefslogtreecommitdiff
path: root/gir/glib-2.0.c
diff options
context:
space:
mode:
Diffstat (limited to 'gir/glib-2.0.c')
-rw-r--r--gir/glib-2.0.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/gir/glib-2.0.c b/gir/glib-2.0.c
index c0f244ba..838f83c0 100644
--- a/gir/glib-2.0.c
+++ b/gir/glib-2.0.c
@@ -32727,6 +32727,22 @@
/**
+ * g_variant_new_printf: (skip)
+ * @format_string: a printf-style format string
+ * @...: arguments for @format_string
+ *
+ * Creates a string-type GVariant using printf formatting.
+ *
+ * This is similar to calling g_strdup_printf() and then
+ * g_variant_new_string() but it saves a temporary variable and an
+ * unnecessary copy.
+ *
+ * Returns: (transfer none): a floating reference to a new string #GVariant instance
+ * Since: 2.38
+ */
+
+
+/**
* g_variant_new_signature:
* @signature: a normal C nul-terminated string
*