forked from KolibriOS/kolibrios
newlib-2.1.0
git-svn-id: svn://kolibrios.org@4921 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -42,6 +42,11 @@ struct hsearch_data
|
||||
size_t htablesize;
|
||||
};
|
||||
|
||||
#ifndef __compar_fn_t_defined
|
||||
#define __compar_fn_t_defined
|
||||
typedef int (*__compar_fn_t) (const void *, const void *);
|
||||
#endif
|
||||
|
||||
__BEGIN_DECLS
|
||||
int hcreate(size_t);
|
||||
void hdestroy(void);
|
||||
@@ -49,10 +54,10 @@ ENTRY *hsearch(ENTRY, ACTION);
|
||||
int hcreate_r(size_t, struct hsearch_data *);
|
||||
void hdestroy_r(struct hsearch_data *);
|
||||
int hsearch_r(ENTRY, ACTION, ENTRY **, struct hsearch_data *);
|
||||
void *tdelete(const void *, void **, int (*)(const void *, const void *));
|
||||
void *tdelete(const void *__restrict, void **__restrict, __compar_fn_t);
|
||||
void tdestroy (void *, void (*)(void *));
|
||||
void *tfind(const void *, void **, int (*)(const void *, const void *));
|
||||
void *tsearch(const void *, void **, int (*)(const void *, const void *));
|
||||
void *tfind(const void *, void **, __compar_fn_t);
|
||||
void *tsearch(const void *, void **, __compar_fn_t);
|
||||
void twalk(const void *, void (*)(const void *, VISIT, int));
|
||||
__END_DECLS
|
||||
|
||||
|
Reference in New Issue
Block a user