caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Checking for caml version from C
@ 2010-09-15 19:29 rixed
  2010-09-15 21:14 ` [Caml-list] " Kaustuv Chaudhuri
  0 siblings, 1 reply; 2+ messages in thread
From: rixed @ 2010-09-15 19:29 UTC (permalink / raw)
  To: caml-list

Hello !

I'm using ocaml 3.11 and 3.12 and I'm writting some C code
that use caml_enter/leave_blocking_section. I'd like to know if
there is a standard way to check for Ocaml version with the C preprocessor
in order to switch to caml_release/acquire_runtime_system if version is
>= 3.12 ?

I grepped for VERSION in all the caml/*.h files without success.
How am I supposed to do ?



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-15 21:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-15 19:29 Checking for caml version from C rixed
2010-09-15 21:14 ` [Caml-list] " Kaustuv Chaudhuri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).