diff options
Diffstat (limited to 'ocamldoc/odoc_print.mli')
-rw-r--r-- | ocamldoc/odoc_print.mli | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ocamldoc/odoc_print.mli b/ocamldoc/odoc_print.mli index 0e7cc2f9d..b0b11997d 100644 --- a/ocamldoc/odoc_print.mli +++ b/ocamldoc/odoc_print.mli @@ -20,8 +20,10 @@ val string_of_type_expr : Types.type_expr -> string (** This function returns a string representing a [Types.module_type]. @param complete indicates if we must print complete signatures or just [sig end]. Default if [false]. + @param code if [complete = false] and the type contains something else + than identificators and functors, then the given code is used. *) -val string_of_module_type : ?complete: bool -> Types.module_type -> string +val string_of_module_type : ?code: string -> ?complete: bool -> Types.module_type -> string (** This function returns a string representing a [Types.class_type]. @param complete indicates if we must print complete signatures |