X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FDEVEL%2Fmathml_editor%2Focaml%2Fml_mathml_editor.c;h=c74dfd01cf4b02aebe237e61dd447353389c28ec;hb=97c2d258a5c524eb5c4b85208899d80751a2c82f;hp=e4cda57e137532beced8e8ba77b83feb18d7795f;hpb=dbc6a4fb0236cfc7752c70e2e16f511b9e51b29c;p=helm.git diff --git a/helm/DEVEL/mathml_editor/ocaml/ml_mathml_editor.c b/helm/DEVEL/mathml_editor/ocaml/ml_mathml_editor.c index e4cda57e1..c74dfd01c 100644 --- a/helm/DEVEL/mathml_editor/ocaml/ml_mathml_editor.c +++ b/helm/DEVEL/mathml_editor/ocaml/ml_mathml_editor.c @@ -88,7 +88,8 @@ ml_mathml_editor_get_default_tex_stylesheet_path(value unit) } value -ml_mathml_editor_new(value dictionary_uri, +ml_mathml_editor_new(value alt, + value dictionary_uri, value tml_mml_uri, value tml_tex_uri, value log_message_cb) @@ -106,7 +107,8 @@ ml_mathml_editor_new(value dictionary_uri, value v = alloc_custom(&ops, sizeof(ml_Editor*), 0, 1); ml_Editor** ml_editor_ref = (ml_Editor**) Data_custom_val(v); ml_Editor* ml_editor = *ml_editor_ref = malloc(sizeof(ml_Editor)); - ml_editor->c_editor = c_mathml_editor_new(String_val(dictionary_uri), + ml_editor->c_editor = c_mathml_editor_new(Bool_val(alt), + String_val(dictionary_uri), String_val(tml_mml_uri), String_val(tml_tex_uri), ml_mathml_editor_log_callback,