summaryrefslogtreecommitdiffstats
path: root/ocamldoc/odoc_print.mli
diff options
context:
space:
mode:
authorMaxence Guesdon <maxence.guesdon@inria.fr>2004-03-26 09:09:50 +0000
committerMaxence Guesdon <maxence.guesdon@inria.fr>2004-03-26 09:09:50 +0000
commitdf89e7e0d2d3366ccea1dd0e78ee6f7c7bf7245c (patch)
treedd2cf40b93c18e521d052419738057f45539bb50 /ocamldoc/odoc_print.mli
parentf415853a119047bc864d749619b0c294c30e26ea (diff)
improve display of functor parameters, added mp_type_code field to functor parameter
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6173 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'ocamldoc/odoc_print.mli')
-rw-r--r--ocamldoc/odoc_print.mli4
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