Permalink
Browse files

FB bundle, fix compare filters

  • Loading branch information...
1 parent 02c3534 commit 001d19311e0ac7edf5698353ff394238780658d9 @serp256 committed Aug 16, 2012
View
12 src/filters_stub.c
@@ -221,10 +221,20 @@ static void filter_finalize(value fltr) {
caml_stat_free(f);
}
+static void filter_compare(value fltr1,value fltr2) {
+ filter *f1 = FILTER(fltr1);
+ filter *f2 = FILTER(fltr2);
+ if (f1 == f2) return 0;
+ else {
+ if (f1 < f2) return -1;
+ return 1;
+ }
+}
+
struct custom_operations filter_ops = {
"pointer to a filter",
filter_finalize,
- custom_compare_default,
+ filter_compare,
custom_hash_default,
custom_serialize_default,
custom_deserialize_default
View
BIN src/social/facebook/ios/sdk/FBDialog.bundle/images/close.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN src/social/facebook/ios/sdk/FBDialog.bundle/images/close@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN src/social/facebook/ios/sdk/FBDialog.bundle/images/fbicon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
1 stable
@@ -0,0 +1 @@
+2bcae58faf9e2b4a466880c8923edf43c4233f72

0 comments on commit 001d193

Please sign in to comment.