X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=generator%2Fgenerator_utils.mli;h=bbdab79146bda8ac21cd677b0decaa668e12fd12;hp=7bc0dde18272048248e56c44955f759e8c086d64;hb=bf3b9e2e236b4dd2216200993ba39545ad5160bb;hpb=04d8209077d2227eb1d42695ba71147f78987050 diff --git a/generator/generator_utils.mli b/generator/generator_utils.mli index 7bc0dde..bbdab79 100644 --- a/generator/generator_utils.mli +++ b/generator/generator_utils.mli @@ -96,3 +96,12 @@ val pod2text : width:int -> string -> string -> string list plain ASCII lines of text. This is the slowest part of autogeneration, so the results are memoized into a temporary file. *) + +val action_compare : Generator_types.action -> Generator_types.action -> int +(** Compare the names of two actions, for sorting. *) + +val chars : char -> int -> string +(** [chars c n] creates a string containing character c repeated n times. *) + +val spaces : int -> string +(** [spaces n] creates a string of n spaces. *)