mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-06-02 02:40:07 +02:00
fixed g_type_name() docs to forbid passing in invalid type IDs.
Thu Jul 12 18:28:47 2007 Tim Janik <timj@gtk.org> * gobject/tmpl/gtype.sgml: fixed g_type_name() docs to forbid passing in invalid type IDs. svn path=/trunk/; revision=5632
This commit is contained in:
parent
f2fa3c8593
commit
39248d5123
@ -1,3 +1,8 @@
|
|||||||
|
Thu Jul 12 18:28:47 2007 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* gobject/tmpl/gtype.sgml: fixed g_type_name() docs to forbid passing in
|
||||||
|
invalid type IDs.
|
||||||
|
|
||||||
Thu Jul 12 15:45:27 2007 Tim Janik <timj@imendio.com>
|
Thu Jul 12 15:45:27 2007 Tim Janik <timj@imendio.com>
|
||||||
|
|
||||||
* glib/tmpl/threads.sgml: document major caveat of g_private_set/g_private_get,
|
* glib/tmpl/threads.sgml: document major caveat of g_private_set/g_private_get,
|
||||||
|
@ -647,8 +647,11 @@ Similar to g_type_init(), but additionally sets debug flags.
|
|||||||
|
|
||||||
<!-- ##### FUNCTION g_type_name ##### -->
|
<!-- ##### FUNCTION g_type_name ##### -->
|
||||||
<para>
|
<para>
|
||||||
Returns the unique name that is assigned to a type ID (this is the preferred method
|
Returns the unique name that is assigned to a type ID.
|
||||||
to find out whether a specific type has been registered for the passed in ID yet).
|
Note that this function (like all other GType API) cannot cope with invalid
|
||||||
|
type IDs. %G_TYPE_INVALID may be passed to this function, as may be any other
|
||||||
|
validly registered type ID, but randomized type IDs should not be passed in and
|
||||||
|
will most likely lead to a crash.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@type: Type to return name for.
|
@type: Type to return name for.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user