summaryrefslogtreecommitdiff
path: root/vapi/misc.vapi
diff options
context:
space:
mode:
Diffstat (limited to 'vapi/misc.vapi')
-rw-r--r--vapi/misc.vapi8
1 files changed, 8 insertions, 0 deletions
diff --git a/vapi/misc.vapi b/vapi/misc.vapi
new file mode 100644
index 0000000..805f73e
--- /dev/null
+++ b/vapi/misc.vapi
@@ -0,0 +1,8 @@
+namespace Workaround {
+[CCode (cheader_filename = "glib.h", cname = "g_markup_collect_attributes", sentinel = "G_MARKUP_COLLECT_INVALID")]
+extern bool markup_collect_attributes(string element_name,
+ [CCode (array_length = false, array_null_terminated = true)]
+ string[] attribute_names,
+ [CCode (array_length = false, array_null_terminated = true)]
+ string[] attribute_values, ...) throws GLib.MarkupError;
+}