]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/mathml_editor/ocaml/i_mathml_editor.ml
ocaml 3.09 transition
[helm.git] / helm / DEVEL / mathml_editor / ocaml / i_mathml_editor.ml
index 229478101f89eaf450ca0487d080c3ad68cbe27e..d865898d614bb74a811a5a3f2a50c3f0ef8e922f 100644 (file)
 
 type t
 
-external create : 
-  dictionary:[> `Document] GdomeT.t ->
-  mml: [> `Document] GdomeT.t -> 
-  tex: [> `Document] GdomeT.t ->
+external get_default_dictionary_path : unit -> string
+  = "ml_mathml_editor_get_default_dictionary_path"
+
+external get_default_mathml_stylesheet_path : unit -> string
+  = "ml_mathml_editor_get_default_mathml_stylesheet_path"
+
+external get_default_tex_stylesheet_path : unit -> string
+  = "ml_mathml_editor_get_default_tex_stylesheet_path"
+
+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"