Prefixage gr_draw_text (PR#2503)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6263 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
9f1a9ce060
commit
419d5c8e81
|
@ -377,14 +377,14 @@ CAMLprim value caml_gr_draw_char(value chr)
|
|||
char str[1];
|
||||
gr_check_open();
|
||||
str[0] = Int_val(chr);
|
||||
gr_draw_text((value)str, 1);
|
||||
caml_gr_draw_text((value)str, 1);
|
||||
return Val_unit;
|
||||
}
|
||||
|
||||
CAMLprim value caml_gr_draw_string(value str)
|
||||
{
|
||||
gr_check_open();
|
||||
gr_draw_text(str, string_length(str));
|
||||
caml_gr_draw_text(str, string_length(str));
|
||||
return Val_unit;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue