include/SDL_syswm.h
changeset 9035 d6464107048c
parent 8968 47decd0106f8
child 9094 65a23b7b43c7
child 9510 e19faa3b5d88
equal deleted inserted replaced
9034:335b60fba5c2 9035:d6464107048c
   206         } dfb;
   206         } dfb;
   207 #endif
   207 #endif
   208 #if defined(SDL_VIDEO_DRIVER_COCOA)
   208 #if defined(SDL_VIDEO_DRIVER_COCOA)
   209         struct
   209         struct
   210         {
   210         {
   211             NSWindow *window;           /* The Cocoa window */
   211 #if defined(__OBJC__) && __has_feature(objc_arc)
       
   212             NSWindow __unsafe_unretained *window; /* The Cocoa window */
       
   213 #else
       
   214             NSWindow *window;                     /* The Cocoa window */
       
   215 #endif
   212         } cocoa;
   216         } cocoa;
   213 #endif
   217 #endif
   214 #if defined(SDL_VIDEO_DRIVER_UIKIT)
   218 #if defined(SDL_VIDEO_DRIVER_UIKIT)
   215         struct
   219         struct
   216         {
   220         {
   217             UIWindow *window;           /* The UIKit window */
   221 #if defined(__OBJC__) && __has_feature(objc_arc)
       
   222             UIWindow __unsafe_unretained *window; /* The UIKit window */
       
   223 #else
       
   224             UIWindow *window;                     /* The UIKit window */
       
   225 #endif
   218         } uikit;
   226         } uikit;
   219 #endif
   227 #endif
   220 #if defined(SDL_VIDEO_DRIVER_WAYLAND)
   228 #if defined(SDL_VIDEO_DRIVER_WAYLAND)
   221         struct
   229         struct
   222         {
   230         {