X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FDEVEL%2Fmathml_editor%2Focaml%2Fi_mathml_editor.ml;h=d865898d614bb74a811a5a3f2a50c3f0ef8e922f;hb=97c2d258a5c524eb5c4b85208899d80751a2c82f;hp=25171b8bb9fa07f23db5a694d43d1c55b49c5414;hpb=84877da90dd68c88915b5ee54d31e9849f340eac;p=helm.git diff --git a/helm/DEVEL/mathml_editor/ocaml/i_mathml_editor.ml b/helm/DEVEL/mathml_editor/ocaml/i_mathml_editor.ml index 25171b8bb..d865898d6 100644 --- a/helm/DEVEL/mathml_editor/ocaml/i_mathml_editor.ml +++ b/helm/DEVEL/mathml_editor/ocaml/i_mathml_editor.ml @@ -34,13 +34,15 @@ external get_default_mathml_stylesheet_path : unit -> string external get_default_tex_stylesheet_path : unit -> string = "ml_mathml_editor_get_default_tex_stylesheet_path" -external create : - dictionary:[> `Document] GdomeT.t -> - mml: [> `Document] GdomeT.t -> - tex: [> `Document] GdomeT.t -> +external raw_create : + alt_lexer:bool -> + dictionary_uri: string -> + mml_uri: string -> + tml_uri: string -> log:(int -> string -> unit) -> t = "ml_mathml_editor_new" +let create ?(alt_lexer=false) = raw_create ~alt_lexer external freeze : editor:t -> bool = "ml_mathml_editor_freeze"