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
[jit] Implement fast TLS access in gshared methods. (#18377)
[mono-project.git]
/
mono
/
utils
/
bsearch.h
blob
93fdd5dac9025caa40a1cb6b023b889baa687e20
1
/**
2
* \file
3
*/
4
5
#ifndef __MONO_BSEARCH_H__
6
#define __MONO_BSEARCH_H__
7
8
#include <stdlib.h>
9
10
#include
"mono/utils/mono-compiler.h"
11
12
typedef
int
(*
BinarySearchComparer
) (
const void
*
key
,
const void
*
member
);
13
14
void
*
15
mono_binary_search
(
16
const void
*
key
,
17
const void
*
array
,
18
size_t
array_length
,
19
size_t
member_size
,
20
BinarySearchComparer comparer
);
21
22
#endif