bsearch_s method

Pointer<Void> bsearch_s(
  1. Pointer<Void> _Key,
  2. Pointer<Void> _Base,
  3. int _NumOfElements,
  4. int _SizeOfElements,
  5. Pointer<NativeFunction<_CoreCrtSecureSearchSortCompareFunction>> _CompareFunction,
  6. Pointer<Void> _Context,
)

Implementation

ffi.Pointer<ffi.Void> bsearch_s(
  ffi.Pointer<ffi.Void> _Key,
  ffi.Pointer<ffi.Void> _Base,
  int _NumOfElements,
  int _SizeOfElements,
  ffi.Pointer<ffi.NativeFunction<_CoreCrtSecureSearchSortCompareFunction>>
      _CompareFunction,
  ffi.Pointer<ffi.Void> _Context,
) {
  return (_bsearch_s ??=
      _dylib.lookupFunction<_c_bsearch_s, _dart_bsearch_s>('bsearch_s'))(
    _Key,
    _Base,
    _NumOfElements,
    _SizeOfElements,
    _CompareFunction,
    _Context,
  );
}