public struct InitiallyUnownedRef : InitiallyUnownedProtocol, GWeakCapturing

The InitiallyUnownedRef type acts as a lightweight Swift reference to an underlying GInitiallyUnowned instance. It exposes methods that can operate on this data type through InitiallyUnownedProtocol conformance. Use InitiallyUnownedRef only as an unowned reference to an existing GInitiallyUnowned instance.

All the fields in the GInitiallyUnowned structure are private to the GInitiallyUnowned implementation and should never be accessed directly.

  • ptr
    Untyped pointer to the underlying `GInitiallyUnowned` instance.

    For type-safe access, use the generated, typed pointer initially_unowned_ptr property instead.



    public let ptr: UnsafeMutableRawPointer!

InitiallyUnowned Class