summaryrefslogtreecommitdiff
path: root/plugins/extraction/mlutil.mli
diff options
context:
space:
mode:
authorGravatar Stephane Glondu <steph@glondu.net>2010-12-24 12:51:11 +0100
committerGravatar Stephane Glondu <steph@glondu.net>2010-12-24 12:51:11 +0100
commit20d03a28285c430740d0b675583fe5c4d13ffecc (patch)
tree36bd87c5c42d948291605fc35b4b7cf573fc8113 /plugins/extraction/mlutil.mli
parentc0a92523eaa76afabcbaf06ac4a7e8f7930ee4a3 (diff)
parent50dc9067e98ca001ad2e875011abab5da6fdb621 (diff)
Merge commit 'upstream/8.3.pl1+dfsg' into experimental/master
Diffstat (limited to 'plugins/extraction/mlutil.mli')
-rw-r--r--plugins/extraction/mlutil.mli7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/extraction/mlutil.mli b/plugins/extraction/mlutil.mli
index d2ac48ea..6b0cd4f9 100644
--- a/plugins/extraction/mlutil.mli
+++ b/plugins/extraction/mlutil.mli
@@ -6,7 +6,7 @@
(* * GNU Lesser General Public License Version 2.1 *)
(************************************************************************)
-(*i $Id: mlutil.mli 13420 2010-09-16 15:47:08Z letouzey $ i*)
+(*i $Id: mlutil.mli 13733 2010-12-21 13:08:53Z letouzey $ i*)
open Util
open Names
@@ -63,6 +63,7 @@ val var2var' : ml_type -> ml_type
type abbrev_map = global_reference -> ml_type option
val type_expand : abbrev_map -> ml_type -> ml_type
+val type_simpl : ml_type -> ml_type
val type_to_sign : abbrev_map -> ml_type -> sign
val type_to_signature : abbrev_map -> ml_type -> signature
val type_expunge : abbrev_map -> ml_type -> ml_type
@@ -116,8 +117,8 @@ val optimize_fix : ml_ast -> ml_ast
val inline : global_reference -> ml_ast -> bool
exception Impossible
-val check_function_branch : ml_branch -> ml_ast
-val check_constant_branch : ml_branch -> ml_ast
+val branch_as_fun : ml_type list -> ml_branch -> ml_ast
+val branch_as_cst : ml_branch -> ml_ast
(* Classification of signatures *)