| 282 | */ |
| 283 | #ifndef SDL_AtomicSetPtr |
| 284 | static __inline__ void* SDL_AtomicSetPtr(void* *a, void* v) |
| 285 | { |
| 286 | void* value; |
| 287 | do { |
| 288 | value = *a; |
| 289 | } while (!SDL_AtomicCASPtr(a, value, v)); |
| 290 | return value; |
| 291 | } |
| 292 | #endif |
| 293 | |
| 294 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected