| 184 | #define cleanup_strv __attribute__((cleanup (cleanup_strvp))) |
| 185 | |
| 186 | static inline void * |
| 187 | steal_pointer (void *pp) |
| 188 | { |
| 189 | void **ptr = (void **) pp; |
| 190 | void *ref; |
| 191 | |
| 192 | ref = *ptr; |
| 193 | *ptr = NULL; |
| 194 | |
| 195 | return ref; |
| 196 | } |
| 197 | |
| 198 | /* type safety */ |
| 199 | #define steal_pointer(pp) \ |
no outgoing calls
no test coverage detected