[Pkg-libvirt-commits] [libguestfs] 141/384: v2v: Hide implementation of 'element'.

Hilko Bengen bengen at moszumanska.debian.org
Sun Mar 29 16:56:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch experimental
in repository libguestfs.

commit 86a08d860af4b0f914cc18d6308891ab0bb26106
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Wed Dec 24 13:34:26 2014 +0000

    v2v: Hide implementation of 'element'.
    
    Following the previous commit, the implementation of 'element'
    does not need to be public.
---
 v2v/DOM.mli | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/v2v/DOM.mli b/v2v/DOM.mli
index e9d0108..cdc4b88 100644
--- a/v2v/DOM.mli
+++ b/v2v/DOM.mli
@@ -18,17 +18,14 @@
 
 (** Poor man's XML DOM, mutable for ease of modification. *)
 
+type element
+type doc = element
+type attr = string * string
+
 type node =
   | PCData of string                    (** Text. *)
   | Comment of string                   (** <!-- comment --> *)
   | Element of element                  (** <element/> with attrs and children *)
-and element = {
-  e_name : string;                      (** Name of element. *)
-  mutable e_attrs : attr list;          (** Attributes. *)
-  mutable e_children : node list;       (** Child elements. *)
-}
-and attr = string * string
-and doc = element
 
 val doc : string -> attr list -> node list -> doc
 (** A quick way to create a document. *)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list