From e8e83ec79576a6a62b4909d4a02a4fa2b07da704 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Sat, 27 Feb 2021 17:04:50 +0100 Subject: [PATCH] glib-2.0: Add new symbols from 2.68 --- vapi/glib-2.0.vapi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index b5e9af9ba..3789fde30 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -3764,6 +3764,8 @@ namespace GLib { [Version (since = "2.58")] public static bool spawn_async_with_fds (string? working_directory, [CCode (array_length = false, array_null_terminated = true)] string[] argv, [CCode (array_length = false, array_null_terminated = true)] string[]? envp, SpawnFlags _flags, SpawnChildSetupFunc? child_setup, out Pid child_pid = null, int stdin_fd = -1, int stdout_fd = -1, int stderr_fd = -1) throws SpawnError; public static bool spawn_async_with_pipes (string? working_directory, [CCode (array_length = false, array_null_terminated = true)] string[] argv, [CCode (array_length = false, array_null_terminated = true)] string[]? envp, SpawnFlags _flags, SpawnChildSetupFunc? child_setup, out Pid child_pid, out int standard_input = null, out int standard_output = null, out int standard_error = null) throws SpawnError; + [Version (since = "2.68")] + public static bool spawn_async_with_pipes_and_fds (string? working_directory, [CCode (array_length = false, array_null_terminated = true)] string[] argv, [CCode (array_length = false, array_null_terminated = true)] string[]? envp, SpawnFlags _flags, SpawnChildSetupFunc? child_setup, int stdin_fd, int stdout_fd, int stderr_fd, [CCode (array_length_pos = 10.1, array_length_type = "size_t")] int[] source_fds, [CCode (array_length_pos = 10.1, array_length_type = "size_t")] int[] target_fds, out Pid child_pid, out int standard_input = null, out int standard_output = null, out int standard_error = null) throws SpawnError; public static bool spawn_async (string? working_directory, [CCode (array_length = false, array_null_terminated = true)] string[] argv, [CCode (array_length = false, array_null_terminated = true)] string[]? envp, SpawnFlags _flags, SpawnChildSetupFunc? child_setup, out Pid child_pid) throws SpawnError; public static bool spawn_sync (string? working_directory, [CCode (array_length = false, array_null_terminated = true)] string[] argv, [CCode (array_length = false, array_null_terminated = true)] string[]? envp, SpawnFlags _flags, SpawnChildSetupFunc? child_setup, out string standard_output = null, out string standard_error = null, out int exit_status = null) throws SpawnError; public static bool spawn_command_line_async (string command_line) throws SpawnError; @@ -5446,6 +5448,8 @@ namespace GLib { public void vprintf (string format, va_list args); [Version (since = "2.14")] public void append_vprintf (string format, va_list args); + [Version (since = "2.68")] + public uint replace (string find, string replace, uint limit = 0U); public string str; public ssize_t len; -- 2.47.3