/usr/lib/ocaml/galax/dynamic_stack.mli is in libgalax-ocaml-dev 1.1-12.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | (***********************************************************************)
(* *)
(* GALAX *)
(* XQuery Engine *)
(* *)
(* Copyright 2001-2007. *)
(* Distributed only by permission. *)
(* *)
(***********************************************************************)
(* $Id: dynamic_stack.mli,v 1.2 2007/02/01 22:08:45 simeon Exp $ *)
(* Module: Dynamic_stack
Implements a dynamic stack with direct access to the elements
needed for e.g. twig joins
*)
type 'a dynamic_stack = {
mutable capacity : int;
mutable size : int;
mutable stack : 'a array;
default : 'a;
}
val make : int -> 'a -> 'a dynamic_stack
val push : 'a dynamic_stack -> 'a -> unit
val empty : 'a dynamic_stack -> bool
val pop : 'a dynamic_stack -> 'a
val top : 'a dynamic_stack -> 'a
|