add create_float_array and deprecate make_float_array
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16407 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
b67a732866
commit
76c4f9c009
|
@ -150,7 +150,7 @@ CAMLprim value caml_make_float_vect(value len)
|
|||
#undef Setup_for_gc
|
||||
#undef Restore_after_gc
|
||||
}else if (wosize > Max_wosize)
|
||||
caml_invalid_argument("Array.make_float");
|
||||
caml_invalid_argument("Array.create_float");
|
||||
else {
|
||||
result = caml_alloc_shr (wosize, Double_array_tag);
|
||||
result = caml_check_urgent_gc (result);
|
||||
|
|
Loading…
Reference in New Issue