X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=generator%2Fgenerator_utils.mli;h=bbdab79146bda8ac21cd677b0decaa668e12fd12;hp=f43a276d1051de4ca1907abf2cbc20e66e6e95b1;hb=d8346d5d6428c7293d1ddf58e4f9ec4b7de25380;hpb=0003ea2c3dbaa7e22f4f616539136821d80694b8 diff --git a/generator/generator_utils.mli b/generator/generator_utils.mli index f43a276..bbdab79 100644 --- a/generator/generator_utils.mli +++ b/generator/generator_utils.mli @@ -99,3 +99,9 @@ val pod2text : width:int -> string -> string -> string list 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. *)