[vala/staging] glib-2.0: Bind g_log_writer_journald/_standard_streams/_default as LogWriterFunc
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] glib-2.0: Bind g_log_writer_journald/_standard_streams/_default as LogWriterFunc
- Date: Thu, 24 Jan 2019 12:53:01 +0000 (UTC)
commit d9bab3f04f8c9713929ab1ef166472b5f8c84ee7
Author: Guillaume Poirier-Morency <guillaumepoiriermorency gmail com>
Date: Fri Oct 14 16:08:50 2016 -0400
glib-2.0: Bind g_log_writer_journald/_standard_streams/_default as LogWriterFunc
Fixes https://gitlab.gnome.org/GNOME/vala/issues/559
vapi/glib-2.0.vapi | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 933475419..ebe16d9a8 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2598,7 +2598,7 @@ namespace GLib {
public delegate void LogFunc (string? log_domain, LogLevelFlags log_levels, string message);
[Version (since = "2.50")]
- public delegate LogWriterOutput LogWriterFunc (LogLevelFlags log_level, LogField[] fields);
+ public delegate LogWriterOutput LogWriterFunc (LogLevelFlags log_level, [CCode (array_length_type =
"gsize")] LogField[] fields);
namespace Log {
public static uint set_handler (string? log_domain, LogLevelFlags log_levels, LogFunc
log_func);
@@ -2623,13 +2623,13 @@ namespace GLib {
[Version (since = "2.50")]
public static bool writer_is_journald (int output_fd);
[Version (since = "2.50")]
- public static string writer_format_fields (LogLevelFlags log_levels, LogField[] fields, bool
use_color);
+ public static string writer_format_fields (LogLevelFlags log_levels, [CCode
(array_length_type = "gsize")] LogField[] fields, bool use_color);
[Version (since = "2.50")]
- public static LogWriterOutput writer_journald (LogLevelFlags log_levels, LogField[] fields,
void* user_data);
+ public static LogWriterFunc writer_journald;
[Version (since = "2.50")]
- public static LogWriterOutput writer_standard_streams (LogLevelFlags log_levels, LogField[]
fields, void* user_data);
+ public static LogWriterFunc writer_standard_streams;
[Version (since = "2.50")]
- public static LogWriterOutput writer_default (LogLevelFlags log_levels, LogField[] fields,
void* user_data);
+ public static LogWriterFunc writer_default;
}
[CCode (has_type_id = false)]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]