error[E0308]: mismatched types
 --> /tmp/unimem-block-creation-validation/ffi_api.rs:4:16
  |
4 | const _: i32 = kCFNumberSInt64Type;
  |                ^^^^^^^^^^^^^^^^^^^ expected `i32`, found `isize`

error[E0308]: mismatched types
 --> /tmp/unimem-block-creation-validation/ffi_api.rs:5:85
  |
5 | const _: unsafe extern "C" fn(*const c_void, i32, *const c_void) -> *const c_void = CFNumberCreate;
  |                                                                                     ^^^^^^^^^^^^^^ expected fn pointer, found fn item
  |
  = note: expected fn pointer `unsafe extern "C" fn(_, i32, _) -> _`
                found fn item `unsafe extern "C" fn(_, isize, _) -> _ {unimem::ffi::CFNumberCreate}`

error[E0308]: mismatched types
 --> /tmp/unimem-block-creation-validation/ffi_api.rs:6:109
  |
6 | const _: unsafe extern "C" fn(*const c_void, i64, *const c_void, *const c_void) -> CFMutableDictionaryRef = CFDictionaryCreateMutable;
  |                                                                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^ expected fn pointer, found fn item
  |
  = note: expected fn pointer `unsafe extern "C" fn(_, i64, _, _) -> _`
                found fn item `unsafe extern "C" fn(_, isize, _, _) -> _ {unimem::ffi::CFDictionaryCreateMutable}`

error[E0308]: mismatched types
 --> /tmp/unimem-block-creation-validation/ffi_api.rs:7:73
  |
7 | const _: unsafe extern "C" fn(CFMutableDictionaryRef) -> IOSurfaceRef = IOSurfaceCreate;
  |                                                                         ^^^^^^^^^^^^^^^ types differ in mutability
  |
  = note: expected fn pointer `unsafe extern "C" fn(*mut c_void) -> _`
                found fn item `unsafe extern "C" fn(*const c_void) -> _ {unimem::ffi::IOSurfaceCreate}`

error: aborting due to 4 previous errors

For more information about this error, try `rustc --explain E0308`.

Graph