[vala/0.36: 56/212] glib-2.0: OptionEntry[] params are null-terminated



commit 2a26098b3a3150b4cd81251b2ba2127d67ec0751
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Sep 4 16:53:07 2017 +0200

    glib-2.0: OptionEntry[] params are null-terminated

 vapi/glib-2.0.vapi |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 4bbe8ee..c8db868 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -3744,7 +3744,7 @@ namespace GLib {
                public bool get_ignore_unknown_options ();
                [Version (since = "2.14")]
                public string get_help (bool main_help, OptionGroup? group);
-               public void add_main_entries ([CCode (array_length = false)] OptionEntry[] entries, string? 
translation_domain);
+               public void add_main_entries ([CCode (array_length = false, array_null_terminated = true)] 
OptionEntry[] entries, string? translation_domain);
                public void add_group (owned OptionGroup group);
                public void set_main_group (owned OptionGroup group);
                public unowned OptionGroup get_main_group ();
@@ -3803,7 +3803,7 @@ namespace GLib {
 #endif
        public class OptionGroup {
                public OptionGroup (string name, string description, string help_description, void* user_data 
= null, DestroyNotify? destroy = null);
-               public void add_entries ([CCode (array_length = false)] OptionEntry[] entries);
+               public void add_entries ([CCode (array_length = false, array_null_terminated = true)] 
OptionEntry[] entries);
                public void set_parse_hooks (OptionParseFunc? pre_parse_func, OptionParseFunc? 
post_parse_hook);
                public void set_error_hook (OptionErrorFunc? error_func);
                public void set_translate_func (owned TranslateFunc? func);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]