Skip to content
  • Emmanuele Bassi's avatar
    Use macros for refcount types API · 827c208c
    Emmanuele Bassi authored
    If we're using GCC we can use __extension__ to inline the grefcount and
    gatomicrefcount API, and avoid the function call.
    
    These macros are only enabled if G_DISABLE_CHECKS is defined, as they
    remove critical warnings when the reference counters achieve saturation.
    827c208c