search for: xpathobjv

Displaying 6 results from an estimated 6 matches for "xpathobjv".

Did you mean: xpathobj
2015 Jun 25
0
[PATCH v2] v2v: Free XML objects in the correct order.
...val (xpathctxv); + + xmlXPathFreeContext (xpathctx); + CAMLreturn (Val_unit); +} + /* xmlXPathObjectPtr type */ -#define Xpathobj_val(v) (*((xmlXPathObjectPtr *)Data_custom_val(v))) +#define Xpathobj_ptr_val(v) (*((xmlXPathObjectPtr *)Data_custom_val(v))) -static void -xpathobj_finalize (value xpathobjv) -{ - xmlXPathObjectPtr xpathobj = Xpathobj_val (xpathobjv); - - if (xpathobj) - xmlXPathFreeObject (xpathobj); -} - -static struct custom_operations xpathobj_custom_operations = { - (char *) "xpathobj_custom_operations", - xpathobj_finalize, +static struct custom_operations xpatho...
2015 Jun 25
0
[PATCH] v2v: Free XML objects in the correct order.
...val (xpathctxv); + + xmlXPathFreeContext (xpathctx); + CAMLreturn (Val_unit); +} + /* xmlXPathObjectPtr type */ -#define Xpathobj_val(v) (*((xmlXPathObjectPtr *)Data_custom_val(v))) +#define Xpathobj_ptr_val(v) (*((xmlXPathObjectPtr *)Data_custom_val(v))) -static void -xpathobj_finalize (value xpathobjv) -{ - xmlXPathObjectPtr xpathobj = Xpathobj_val (xpathobjv); - - if (xpathobj) - xmlXPathFreeObject (xpathobj); -} - -static struct custom_operations xpathobj_custom_operations = { - (char *) "xpathobj_custom_operations", - xpathobj_finalize, +static struct custom_operations xpatho...
2017 Feb 07
0
[PATCH v2 2/7] Move xml and xpath_helpers OCAML code to mllib
...e_xpathctxptr (value xpathctxv) +mllib_xml_free_xpathctxptr (value xpathctxv) { CAMLparam1 (xpathctxv); xmlXPathContextPtr xpathctx = xpathctxptr_val (xpathctxv); @@ -96,7 +97,7 @@ static struct custom_operations xpathobjptr_custom_operations = { }; value -v2v_xml_free_xpathobjptr (value xpathobjv) +mllib_xml_free_xpathobjptr (value xpathobjv) { CAMLparam1 (xpathobjv); xmlXPathObjectPtr xpathobj = xpathobjptr_val (xpathobjv); @@ -106,7 +107,7 @@ v2v_xml_free_xpathobjptr (value xpathobjv) } value -v2v_xml_parse_memory (value xmlv) +mllib_xml_parse_memory (value xmlv) { CAMLpara...
2015 Jun 25
2
[PATCH v2] v2v: Free XML objects in the correct order.
In version 2: - No substantial change, I just tidied up the code a bit. - Removed one case where whitespace changes had crept in. Rich.
2017 Feb 07
11
[PATCH v2 0/7] Introducing virt-builder-repository
Hi all, Here is a new version of the virt-builder-repository series taking care of Pino's comments. It has also been rebased on recent master. Cédric Bosdonnat (7): mllib: factorize code to add Checksum.get_checksum function Move xml and xpath_helpers OCAML code to mllib mllib: expose libosinfo DB reading functions in mllib builder: rename docs test script builder: add
2017 Feb 10
15
[PATCH v3 00/10] Introducing virt-builder-repository
Hi guys, Here is a v3 of the series, including changes to answer Richard's comments. Cédric Bosdonnat (10): mllib: factorize code to add Checksum.get_checksum function Move xml and xpath_helpers OCAML code to mllib mllib: add Xml.parse_file helper lib/osinfo.c: Extract xml processing into a callback lib: extract osinfo DB traversing API mllib: ocaml wrapper for lib/osinfo