mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-02 09:16:17 +01:00
Bug 557405 – Use 'allow-none' consistently
2008-10-22 Tommi Komulainen <tommi.komulainen@iki.fi> * docs/typelib-format.txt: * girepository/ginfo.c (g_arg_info_may_be_null): * girepository/girnode.c (g_ir_node_build_typelib): * girepository/girnode.h (struct _GIrNodeParam): * girepository/girparser.c (start_parameter): * girepository/girwriter.c (function_generate): * girepository/gtypelib.h (ArgBlob): * tests/errors.gir: * tests/function.gir: * tools/generate.c (write_callable_info): Use 'allow-none' consistently throughout svn path=/trunk/; revision=782
This commit is contained in:
parent
cb720c675e
commit
659a300f87
@ -400,7 +400,7 @@ write_callable_info (const gchar *namespace,
|
||||
}
|
||||
|
||||
if (g_callable_info_may_return_null (info))
|
||||
xml_printf (file, " null-ok=\"1\"");
|
||||
xml_printf (file, " allow-none=\"1\"");
|
||||
|
||||
write_type_info (namespace, type, file);
|
||||
|
||||
@ -445,7 +445,7 @@ write_callable_info (const gchar *namespace,
|
||||
}
|
||||
|
||||
if (g_arg_info_may_be_null (arg))
|
||||
xml_printf (file, " null-ok=\"1\"");
|
||||
xml_printf (file, " allow-none=\"1\"");
|
||||
|
||||
if (g_arg_info_is_dipper (arg))
|
||||
xml_printf (file, " dipper=\"1\"");
|
||||
|
Loading…
Reference in New Issue
Block a user