Skip to content
  • Nick Kallen's avatar
    applemedia/gl: Update code to use ARC · 46bbc60d
    Nick Kallen authored and Sebastian Dröge's avatar Sebastian Dröge committed
    All code interacting with Objective-C objects should now use Automated
    Reference Counting rather than manual memory management or Garbage
    Collection. Because ARC prohibits C-structs from containing
    references to Objective-C objects, all such fields are now typed
    'gpointer'. Setting and gettings Objective-C fields on such a
    struct now uses explicit __bridge_* calls to tell ARC about
    object lifetimes.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=777847
    46bbc60d