Add some simple logging capability in the ocaml bindings, and misc updates. Vincent Hanquez (3): register the ocaml exception so it can be used at the C level. add a simple logger to the ocaml bindings Properly adjust fields in ocaml structure to match the C layer. tools/ocaml/libs/xl/xl.ml | 10 ++- tools/ocaml/libs/xl/xl.mli | 8 ++- tools/ocaml/libs/xl/xl_stubs.c | 155 ++++++++++++++++++++++------------------ 3 files changed, 98 insertions(+), 75 deletions(-) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Vincent Hanquez
2010-Jul-13 13:51 UTC
[Xen-devel] [PATCH 1/3] register the ocaml exception so it can be used at the C level.
Signed-off-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com> --- tools/ocaml/libs/xl/xl.ml | 4 ++++ tools/ocaml/libs/xl/xl.mli | 2 ++ 2 files changed, 6 insertions(+), 0 deletions(-) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Vincent Hanquez
2010-Jul-13 13:51 UTC
[Xen-devel] [PATCH 2/3] add a simple logger to the ocaml bindings
Signed-off-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com> --- tools/ocaml/libs/xl/xl_stubs.c | 131 ++++++++++++++++++++++----------------- 1 files changed, 74 insertions(+), 57 deletions(-) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Vincent Hanquez
2010-Jul-13 13:51 UTC
[Xen-devel] [PATCH 3/3] Properly adjust fields in ocaml structure to match the C layer.
Signed-off-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com> --- tools/ocaml/libs/xl/xl.ml | 6 +++--- tools/ocaml/libs/xl/xl.mli | 6 +++--- tools/ocaml/libs/xl/xl_stubs.c | 24 ++++++++++++------------ 3 files changed, 18 insertions(+), 18 deletions(-) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel