summaryrefslogtreecommitdiffstats
path: root/otherlibs/labltk/support/cltkMisc.c
diff options
context:
space:
mode:
authorWojciech Meyer <wojciech.meyer@gmail.com>2013-02-25 03:01:31 +0000
committerWojciech Meyer <wojciech.meyer@gmail.com>2013-02-25 03:01:31 +0000
commitdc9834c4a430a57ad1f76992ec9ac85a69b73597 (patch)
treebeed4a44719ceb3ce05444ee08669ada4e40c0a4 /otherlibs/labltk/support/cltkMisc.c
parentfb17e50db586b6e92dc720aec3679dfd34188b96 (diff)
misc: replace stat_(alloc|free|resize) occurences with caml_stat_(...).
byterun/compatibility.h defines: #define stat_alloc caml_stat_alloc #define stat_free caml_stat_free #define stat_resize caml_stat_resize Having the "caml_" prefix seems cleaner to me, it also avoids some issues for cross-compilation but I don't remember well which ones. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13314 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/labltk/support/cltkMisc.c')
-rw-r--r--otherlibs/labltk/support/cltkMisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/labltk/support/cltkMisc.c b/otherlibs/labltk/support/cltkMisc.c
index a89ea341f..52c5d4846 100644
--- a/otherlibs/labltk/support/cltkMisc.c
+++ b/otherlibs/labltk/support/cltkMisc.c
@@ -55,7 +55,7 @@ CAMLprim value camltk_splitlist (value v)
char *string_to_c(value s)
{
int l = string_length(s);
- char *res = stat_alloc(l + 1);
+ char *res = caml_stat_alloc(l + 1);
memmove (res, String_val (s), l);
res[l] = '\0';
return res;