Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
gtype: Note idempotency of g_type_init()
Browse files Browse the repository at this point in the history
  • Loading branch information
cgwalters committed Mar 16, 2012
1 parent 8ae5bd3 commit cf91278
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gobject/gtype.c
Original file line number Diff line number Diff line change
Expand Up @@ -4265,6 +4265,8 @@ _g_type_boxed_init (GType type,
* debugging purposes.
*
* Similar to g_type_init(), but additionally sets debug flags.
*
* This function is idempotent.
*/
void
g_type_init_with_debug_flags (GTypeDebugFlags debug_flags)
Expand Down Expand Up @@ -4376,6 +4378,8 @@ g_type_init_with_debug_flags (GTypeDebugFlags debug_flags)
* (such as the various fundamental type implementations or the signal
* system).
*
* This function is idempotent.
*
* Since version 2.24 this also initializes the thread system
*/
void
Expand Down

0 comments on commit cf91278

Please sign in to comment.