diff options
author | Wojciech Meyer <wojciech.meyer@gmail.com> | 2013-02-25 03:01:31 +0000 |
---|---|---|
committer | Wojciech Meyer <wojciech.meyer@gmail.com> | 2013-02-25 03:01:31 +0000 |
commit | dc9834c4a430a57ad1f76992ec9ac85a69b73597 (patch) | |
tree | beed4a44719ceb3ce05444ee08669ada4e40c0a4 /otherlibs/labltk/support/cltkWait.c | |
parent | fb17e50db586b6e92dc720aec3679dfd34188b96 (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/cltkWait.c')
-rw-r--r-- | otherlibs/labltk/support/cltkWait.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/labltk/support/cltkWait.c b/otherlibs/labltk/support/cltkWait.c index a46860b85..e13091f2d 100644 --- a/otherlibs/labltk/support/cltkWait.c +++ b/otherlibs/labltk/support/cltkWait.c @@ -62,7 +62,7 @@ static void WaitVisibilityProc(clientData, eventPtr) CAMLprim value camltk_wait_vis(value win, value cbid) { struct WinCBData *vis = - (struct WinCBData *)stat_alloc(sizeof(struct WinCBData)); + (struct WinCBData *)caml_stat_alloc(sizeof(struct WinCBData)); vis->win = Tk_NameToWindow(cltclinterp, String_val(win), cltk_mainWindow); if (vis -> win == NULL) { stat_free((char *)vis); @@ -89,7 +89,7 @@ static void WaitWindowProc(ClientData clientData, XEvent *eventPtr) CAMLprim value camltk_wait_des(value win, value cbid) { struct WinCBData *vis = - (struct WinCBData *)stat_alloc(sizeof(struct WinCBData)); + (struct WinCBData *)caml_stat_alloc(sizeof(struct WinCBData)); vis->win = Tk_NameToWindow(cltclinterp, String_val(win), cltk_mainWindow); if (vis -> win == NULL) { stat_free((char *)vis); |