gtype: Note idempotency of g_type_init()

This commit is contained in:
Colin Walters 2012-03-15 17:59:01 -04:00
parent 8ae5bd399e
commit cf912785b6

View File

@ -4265,6 +4265,8 @@ _g_type_boxed_init (GType type,
* debugging purposes. * debugging purposes.
* *
* Similar to g_type_init(), but additionally sets debug flags. * Similar to g_type_init(), but additionally sets debug flags.
*
* This function is idempotent.
*/ */
void void
g_type_init_with_debug_flags (GTypeDebugFlags debug_flags) g_type_init_with_debug_flags (GTypeDebugFlags debug_flags)
@ -4376,6 +4378,8 @@ g_type_init_with_debug_flags (GTypeDebugFlags debug_flags)
* (such as the various fundamental type implementations or the signal * (such as the various fundamental type implementations or the signal
* system). * system).
* *
* This function is idempotent.
*
* Since version 2.24 this also initializes the thread system * Since version 2.24 this also initializes the thread system
*/ */
void void