From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 94CB8BC6C for ; Thu, 17 Jan 2008 22:47:48 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAABtcj0fUGyodimdsb2JhbACQFwEBAQgEBgcKCAkHgRScEw X-IronPort-AV: E=Sophos;i="4.24,304,1196636400"; d="scan'208";a="8010658" Received: from smtp3-g19.free.fr ([212.27.42.29]) by mail3-smtp-sop.national.inria.fr with ESMTP; 17 Jan 2008 22:47:48 +0100 Received: from smtp3-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp3-g19.free.fr (Postfix) with ESMTP id E759717B577; Thu, 17 Jan 2008 22:47:47 +0100 (CET) Received: from [192.168.0.3] (rke75-3-82-229-183-156.fbx.proxad.net [82.229.183.156]) by smtp3-g19.free.fr (Postfix) with ESMTP id 906FF17B549; Thu, 17 Jan 2008 22:47:47 +0100 (CET) Message-ID: <478FCBEA.1020304@frisch.fr> Date: Thu, 17 Jan 2008 22:43:06 +0100 From: Alain Frisch User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Richard Jones , caml-list Subject: CAMLprim and co (was: Give back a Pair from C to OCaml?) References: <1200583973.478f7525e7a5a@webmail.in-berlin.de> <9d3ec8300801170743k509a7c4wa9d8f490118a9653@mail.gmail.com> <1200594739.478f9f33aa51f@webmail.in-berlin.de> <20080117184150.GA14335@annexia.org> In-Reply-To: <20080117184150.GA14335@annexia.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; frisch:01 frisch:01 camlprim:01 ocaml:01 camlprim:01 camlexport:01 ocaml:01 makefiles:01 runtime:01 camlexport:01 wrote:01 pair:01 primitives:01 alain:01 alain:01 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