From 03d4222d92195700bb58bbb1ca26c9234017ffbe Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Thu, 5 Jul 2018 08:17:32 +0200 Subject: codegen: Let methods return -1 on error by default if possible Fixes https://gitlab.gnome.org/GNOME/vala/issues/526 --- vala/valausedattr.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vala/valausedattr.vala') diff --git a/vala/valausedattr.vala b/vala/valausedattr.vala index 999cfc867..78fdd0871 100644 --- a/vala/valausedattr.vala +++ b/vala/valausedattr.vala @@ -40,7 +40,7 @@ public class Vala.UsedAttr : CodeVisitor { "array_length_type", "array_length", "array_length_cname", "array_length_cexpr", "array_null_terminated", "vfunc_name", "finish_vfunc_name", "finish_name", "free_function_address_of", "pos", "delegate_target", "delegate_target_cname", "array_length_pos", "delegate_target_pos", "destroy_notify_pos", "ctype", "has_new_function", "notify", "finish_instance", - "use_inplace", "feature_test_macro", "", + "use_inplace", "feature_test_macro", "default_value_on_error", "", "Immutable", "", "Compact", "", -- cgit v1.2.1