[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2007-08-03 (19:30) |
From: | Julien Moutinho <julien.moutinho@g...> |
Subject: | Re: [Caml-list] getting the system architecture |
On Fri, Aug 03, 2007 at 09:54:17AM -0700, Eric Merritt wrote: > It actually helps a lot. I wasn't quite expect you to do it all for > me. Thanks, this saved me a bunch of time in doing it myself and > figuring out the ffi which I haven't used before. I owe you one. Just be careful to protect Ocaml values with CAMLparam* and to declare them with CAMLlocal* if you care about your sleep; 'cause the ``due to garbage collection'' bug may be hard to find or reproduce. A few pointers, if you haven't them already: http://caml.inria.fr/pub/docs/oreilly-book/html/index.html#chap-interop http://caml.inria.fr/pub/ml-archives/caml-list/2007/01/a169d698ad11a6017c87f2d98db860e6.en.html