summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2020-08-23 09:32:47 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2020-08-23 10:52:30 +0200
commit3b2fa1342f6c91bbf3451d108e99dd1c46e522f2 (patch)
tree23a8e8e36919cef2e2b5789e862a0fc1b2912bd5
parentaf0ad3e836adcfb5b43b269c9747b606de59c91e (diff)
downloadvala-3b2fa1342f6c91bbf3451d108e99dd1c46e522f2.tar.gz
glib-2.0: Add GLib.UriParamsIter bindings (since 2.66)
-rw-r--r--vapi/glib-2.0.vapi16
1 files changed, 16 insertions, 0 deletions
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index d158122a0..3405700c3 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -4099,6 +4099,22 @@ namespace GLib {
FRAGMENT
}
+ [Version (since = "2.66")]
+ public struct UriParamsIter {
+ public UriParamsIter (string @params, int length = -1, string separators = "&;", UriParamsFlags flags = 0);
+ public bool next (out string attribute = null, out string @value = null) throws Error;
+ }
+
+ [Flags]
+ [Version (since = "2.66")]
+ [CCode (cprefix = "G_URI_PARAMS_", has_type_id = false)]
+ public enum UriParamsFlags {
+ NONE,
+ CASE_INSENSITIVE,
+ WWW_FORM,
+ PARSE_RELAXED
+ }
+
/* Shell-related Utilities */
public errordomain ShellError {