add create_float_array and deprecate make_float_array

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16407 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Damien Doligez 2015-09-07 13:51:27 +00:00
parent b67a732866
commit 76c4f9c009
1 changed files with 1 additions and 1 deletions

View File

@ -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);