Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Give back a Pair from C to OCaml?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alain Frisch <alain@f...>
Subject: CAMLprim and co (was: Give back a Pair from C to OCaml?)
Richard Jones wrote:
> It's not really a good idea to "throw out" CAMLprim.  It expands to
> something useful on Windows.

CAMLexport was more appropriate. CAMLprim is used by the OCaml Makefiles 
to build to table of C primitives available by default in an OCaml runtime.

I said "was" because in the forthcoming OCaml 3.11, CAMLexport will be 
useless even on Windows (but it might be a good idea to keep it, just as 
an annotation).

-- Alain