summaryrefslogtreecommitdiff
path: root/vapi
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2021-02-04 20:00:14 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2021-02-04 20:00:14 +0100
commitadee674eb14db9cad3e52d9200bbe44f0ef3b17d (patch)
tree62dce6d83e48bf2890d83e85a7b8e34c6b1a303c /vapi
parent4209a8bf53b48cf4f77d2e24fddd6bb5c5baf135 (diff)
downloadvala-adee674eb14db9cad3e52d9200bbe44f0ef3b17d.tar.gz
glib-2.0: Add new symbols from 2.68
Diffstat (limited to 'vapi')
-rw-r--r--vapi/glib-2.0.vapi11
1 files changed, 11 insertions, 0 deletions
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index e56ef9f4d..30864b302 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2444,6 +2444,9 @@ namespace GLib {
public static void* move (void* dest, void* src, size_t n);
[CCode (cname = "g_memdup")]
public static void* dup (void* mem, uint n);
+ [Version (since = "2.68")]
+ [CCode (cname = "g_memdup2")]
+ public static void* dup2 (void* mem, size_t n);
}
[Version (since = "2.10")]
@@ -2677,6 +2680,8 @@ namespace GLib {
[Version (since = "2.16")]
public static void assert_cmpstr (string? s1, CompareOperator cmp, string? s2);
+ [Version (since = "2.68")]
+ public static void assert_cmpstrv ([CCode (array_length = false, array_null_terminated = true)] string[] strv1, [CCode (array_length = false, array_null_terminated = true)] string[] strv2);
[Version (since = "2.16")]
public static void assert_cmpint (int n1, CompareOperator cmp, int n2);
[Version (since = "2.16")]
@@ -2800,6 +2805,10 @@ namespace GLib {
public static bool writer_is_journald (int output_fd);
[Version (since = "2.50")]
public static string writer_format_fields (LogLevelFlags log_levels, [CCode (array_length_type = "gsize")] LogField[] fields, bool use_color);
+ [Version (since = "2.68")]
+ public static void writer_default_set_use_stderr (bool use_stderr);
+ [Version (since = "2.68")]
+ public static bool writer_default_would_drop (LogLevelFlags log_level, string log_domain);
[Version (since = "2.50")]
[CCode (delegate_target = false)]
public static LogWriterFunc writer_journald;
@@ -4792,6 +4801,8 @@ namespace GLib {
public static unowned string get_dir (GLib.Test.FileType file_type);
[Version (since = "2.38")]
public static unowned string get_filename (GLib.Test.FileType file_type, params string[] path_segments);
+ [Version (since = "2.68")]
+ public static unowned string get_path ();
[Version (since = "2.38")]
public static void incomplete (string? msg = null);
[Version (since = "2.36")]