Skip to content

Add init macros for refcounting types

Emmanuele Bassi requested to merge ebassi/refcount-init-macros into main

We need a way to initialise refcounted types placed in static storage, or on the stack. Using proper macros avoids knowing the magic constant used for grefcount and gatomicrefcount.

Merge request reports