repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[tools] Add nuget-hash-extractor tool to help produce the runtime ignored assemblies...
[mono-project.git]
/
mono
/
utils
/
bsearch.h
blob
82137ef4a4f2d38e856ae8fad63a7c4a5be36199
1
#ifndef __MONO_BSEARCH_H__
2
#define __MONO_BSEARCH_H__
3
4
#include <stdlib.h>
5
6
#include
"mono/utils/mono-compiler.h"
7
8
typedef
int
(*
BinarySearchComparer
) (
const void
*
key
,
const void
*
member
);
9
10
void
*
11
mono_binary_search
(
12
const void
*
key
,
13
const void
*
array
,
14
size_t
array_length
,
15
size_t
member_size
,
16
BinarySearchComparer comparer
);
17
18
#endif