Merge branch 'local-ocamlbuild' into local-trunk
[SXSI/xpathcomp.git] / src / node.mli
diff --git a/src/node.mli b/src/node.mli
new file mode 100644 (file)
index 0000000..2aecb70
--- /dev/null
@@ -0,0 +1,11 @@
+type 'a t = private int
+val nil : 'a t
+val null : 'a t
+val is_nil : 'a t -> bool
+val print : Format.formatter -> 'a t -> unit
+val compare : 'a t -> 'a t -> int
+val equal : 'a t -> 'a t -> bool
+val hash : 'a t -> int
+
+external to_int : 'a t -> int = "%identity"
+external of_int : int -> 'a t = "%identity"