diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2012-02-29 18:51:21 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2012-02-29 18:51:21 +0000 |
| commit | 2775faad7a03f2cda2e415f090b58a232a980227 (patch) | |
| tree | 726437ac6e5a8c2f7114a70fcce0d697b9b4e41f /src/runtime/c/gu/fun.h | |
| parent | b727e676b41b9a1e94c7326acf0a1efb70808f0a (diff) | |
libpgf: an API for building heaps from buffers in gu/seq.c
Diffstat (limited to 'src/runtime/c/gu/fun.h')
| -rw-r--r-- | src/runtime/c/gu/fun.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/runtime/c/gu/fun.h b/src/runtime/c/gu/fun.h index 0004e9923..f4c1a5a38 100644 --- a/src/runtime/c/gu/fun.h +++ b/src/runtime/c/gu/fun.h @@ -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_ |
