mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
document allowed uses for 'out' parameters.
* glib/tmpl/macros.sgml (G_CONST_RETURN): document allowed uses for 'out' parameters.
This commit is contained in:
parent
a6e1fafdc9
commit
66fb9a2951
@ -1,3 +1,8 @@
|
||||
2001-10-01 Matthias Clasen <matthiasc@poet.de>
|
||||
|
||||
* glib/tmpl/macros.sgml (G_CONST_RETURN): document
|
||||
allowed uses for 'out' parameters.
|
||||
|
||||
2001-10-01 Matthias Clasen <matthiasc@poet.de>
|
||||
|
||||
* glib/tmpl/caches.sgml, glib/tmpl/datalist.sgml,
|
||||
|
@ -245,8 +245,9 @@ should be used in place of <literal>const</literal> for functions that
|
||||
return a value that should not be modified. The purpose of this macro is
|
||||
to allow us to turn on <literal>const</literal> for returned constant
|
||||
strings by default, while allowing programmers who find that annoying to
|
||||
turn it off. This macro should only be used for return values, it doesn't
|
||||
make sense for function arguments.
|
||||
turn it off. This macro should only be used for return values and for
|
||||
<emphasis>out</emphasis> parameters, it doesn't make sense for
|
||||
<emphasis>in</emphasis> parameters.
|
||||
</para>
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user