Once


Object Hierarchy:

GLib.Once GLib.Once GLib.Once

Description:

[ Version ( since = "2.4" ) ]
[ CCode ( default_value = "G_ONCE_INIT" , has_type_id = false ) ]
public struct Once<G>

A Once struct controls a one-time initialization function.

Any one-time initialization function must have its own unique Once struct.


Namespace: GLib
Package: glib-2.0

Content:

Static methods:

Methods:

Fields: