Once
class Once(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null) : ProxyInstance
A #GOnce struct controls a one-time initialization function. Any one-time initialization function must have its own unique #GOnce struct.
Skipped during bindings generation
parameter
func
: ThreadFuncfunction
init_enter
: In/Out parameter is not supportedparameter
location
: Unsupported pointer to primitive typeparameter
location
: Unsupported pointer to primitive typefunction
init_leave
: In/Out parameter is not supportedparameter
location
: Unsupported pointer to primitive type
Since
2.4
Constructors
Link copied to clipboard
constructor()
Allocate a new Once.
constructor(scope: <Error class: unknown class>)
Allocate a new Once using the provided AutofreeScope.
Allocate a new Once.
constructor(status: OnceStatus, retval: <Error class: unknown class>, scope: <Error class: unknown class>)
Allocate a new Once using the provided AutofreeScope.
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)