bsearch method

Pointer<Void> bsearch(
  1. Pointer<Void> __key,
  2. Pointer<Void> __base,
  3. int __nel,
  4. int __width,
  5. Pointer<NativeFunction<Int Function(Pointer<Void>, Pointer<Void>)>> __compar,
)

Implementation

ffi.Pointer<ffi.Void> bsearch(
  ffi.Pointer<ffi.Void> __key,
  ffi.Pointer<ffi.Void> __base,
  int __nel,
  int __width,
  ffi.Pointer<
          ffi.NativeFunction<
              ffi.Int Function(ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Void>)>>
      __compar,
) {
  return _bsearch(
    __key,
    __base,
    __nel,
    __width,
    __compar,
  );
}