diff options
author | Damien Doligez <damien.doligez-inria.fr> | 2011-07-20 09:17:07 +0000 |
---|---|---|
committer | Damien Doligez <damien.doligez-inria.fr> | 2011-07-20 09:17:07 +0000 |
commit | c91db736b18c7ed0ec81596b76874f5423d5d331 (patch) | |
tree | a967edfcd254aa6844c44e81ea33596a82b7bf87 /byterun/custom.h | |
parent | 46d5420ca9c695738f7a0baa527d3591d95f067a (diff) | |
download | ocaml-c91db736b18c7ed0ec81596b76874f5423d5d331.tar.gz |
merge changes from 3.12.0 to 3.12.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11123 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/custom.h')
-rw-r--r-- | byterun/custom.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/byterun/custom.h b/byterun/custom.h index a706857ae0..51fabed9da 100644 --- a/byterun/custom.h +++ b/byterun/custom.h @@ -31,6 +31,7 @@ struct custom_operations { /*out*/ uintnat * wsize_32 /*size in bytes*/, /*out*/ uintnat * wsize_64 /*size in bytes*/); uintnat (*deserialize)(void * dst); + int (*compare_ext)(value v1, value v2); }; #define custom_finalize_default NULL @@ -38,6 +39,7 @@ struct custom_operations { #define custom_hash_default NULL #define custom_serialize_default NULL #define custom_deserialize_default NULL +#define custom_compare_ext_default NULL #define Custom_ops_val(v) (*((struct custom_operations **) (v))) |