summaryrefslogtreecommitdiff
path: root/src/runtime/c/gu/fun.h
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2012-02-29 18:51:21 +0000
committerkr.angelov <kr.angelov@gmail.com>2012-02-29 18:51:21 +0000
commit2775faad7a03f2cda2e415f090b58a232a980227 (patch)
tree726437ac6e5a8c2f7114a70fcce0d697b9b4e41f /src/runtime/c/gu/fun.h
parentb727e676b41b9a1e94c7326acf0a1efb70808f0a (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.h6
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_