git.annexia.org
/
virt-top.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: Pass through CFLAGS and LDFLAGS to ocaml compiler (RHBZ#1630636).
[virt-top.git]
/
src
/
utils.mli
diff --git
a/src/utils.mli
b/src/utils.mli
index
6e81215
..
3c966f8
100644
(file)
--- a/
src/utils.mli
+++ b/
src/utils.mli
@@
-25,6
+25,9
@@
val (//) : string -> string -> string
(* failwithf is a printf-like version of failwith. *)
val failwithf : ('a, unit, string, 'b) format4 -> 'a
(* failwithf is a printf-like version of failwith. *)
val failwithf : ('a, unit, string, 'b) format4 -> 'a
+(* Return the list of integers [a..b] (inclusive). *)
+val range : int -> int -> int list
+
(* Read a configuration file as a list of (lineno, key, value) pairs.
* If the config file is missing this returns an empty list.
*)
(* Read a configuration file as a list of (lineno, key, value) pairs.
* If the config file is missing this returns an empty list.
*)