pub unsafe extern "C" fn CPLAtomicCompareAndExchange(
    ptr: *mut c_int,
    oldval: c_int,
    newval: c_int
) -> c_int