Fully initialize the custom_operations struct
authorPino Toscano <ptoscano@redhat.com>
Mon, 9 Oct 2017 10:52:55 +0000 (12:52 +0200)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 9 Oct 2017 15:08:26 +0000 (16:08 +0100)
Use also custom_compare_ext_default for the compare_ext field.

This also implicitly raises the minimum OCaml version required to
3.12.1, since it is when this field was introduced (at least, according
to the git logs).

augeas-c.c

index 3c523ea..59a3ef4 100644 (file)
@@ -127,7 +127,8 @@ static struct custom_operations custom_operations = {
   custom_compare_default,
   custom_hash_default,
   custom_serialize_default,
-  custom_deserialize_default
+  custom_deserialize_default,
+  custom_compare_ext_default,
 };
 
 static value Val_augeas_t (augeas_t t)