23 lines
360 B
C
23 lines
360 B
C
/**
|
|
* \file
|
|
*/
|
|
|
|
#ifndef __MONO_BSEARCH_H__
|
|
#define __MONO_BSEARCH_H__
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include "mono/utils/mono-compiler.h"
|
|
|
|
typedef int (* BinarySearchComparer) (const void *key, const void *member);
|
|
|
|
void *
|
|
mono_binary_search (
|
|
const void *key,
|
|
const void *array,
|
|
size_t array_length,
|
|
size_t member_size,
|
|
BinarySearchComparer comparer);
|
|
|
|
#endif
|