libpgf: an API for building heaps from buffers in gu/seq.c

This commit is contained in:
kr.angelov
2012-02-29 18:51:21 +00:00
parent b727e676b4
commit 2775faad7a
3 changed files with 111 additions and 0 deletions

View File

@@ -62,4 +62,10 @@ struct GuEquality {
bool (*is_equal)(GuEquality* self, const void* a, const void* b);
};
typedef const struct GuOrder GuOrder;
struct GuOrder {
int (*compare)(GuOrder* self, const void* a, const void* b);
};
#endif // GU_FUN_H_