Replace glibc tsearch() with a custom red-black tree implementation.
The library supplied tree estructure is not enought for our needs, due to its limited API. Thus, we have implemented a suitable red-black tree.
This commit is contained in:
@ -21,6 +21,8 @@ struct Iso_File_Src {
|
||||
IsoStream *stream;
|
||||
};
|
||||
|
||||
int iso_file_src_cmp(const void *n1, const void *n2);
|
||||
|
||||
/**
|
||||
* Create a new IsoFileSrc to get data from a specific IsoFile.
|
||||
*
|
||||
@ -43,7 +45,7 @@ int iso_file_src_create(Ecma119Image *img, IsoFile *file, IsoFileSrc **src);
|
||||
/**
|
||||
* Free the IsoFileSrc especific data
|
||||
*/
|
||||
void iso_file_src_free(Ecma119Image *img);
|
||||
void iso_file_src_free(void *node);
|
||||
|
||||
/**
|
||||
* Get the size of the file this IsoFileSrc represents
|
||||
|
Reference in New Issue
Block a user