From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 3ACBEBC37 for ; Mon, 8 Feb 2010 05:17:47 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAEAJsfb0tQW+UMgWdsb2JhbACbPwEBFiS6QIRUBIMr X-IronPort-AV: E=Sophos;i="4.49,425,1262559600"; d="scan'208";a="51871668" Received: from lo.gmane.org ([80.91.229.12]) by mail1-smtp-roc.national.inria.fr with ESMTP; 08 Feb 2010 05:17:46 +0100 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NeL4C-0008PO-GT for caml-list@inria.fr; Mon, 08 Feb 2010 05:17:44 +0100 Received: from elehack.net ([216.243.177.100]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2010 05:17:44 +0100 Received: from michael+ocaml by elehack.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2010 05:17:44 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Michael Ekstrand Subject: Re: How to wrap around C++? Date: Sun, 07 Feb 2010 22:17:23 -0600 Message-ID: References: <28fa90931002071813k7330ad34s7a2ec8b4cf1c3d11@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: elehack.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 In-Reply-To: Sender: news X-Spam: no; 0.00; ocaml:01 ocaml:01 compiler:01 swig:01 swig:01 1.3:98 wrote:01 compiling:02 footnote:03 workaround:03 tricky:04 driver:04 michael:07 michael:07 wrap:08 On 02/07/2010 10:06 PM, Michael Ekstrand wrote: > * Compiling is tricky, since the OCaml compiler driver doesn't know what > to do with C++. The Swig documentation[1] has a workaround for this, > useful even if you don't use Swig. I forgot the footnote with a link: 1. http://www.swig.org/Doc1.3/Ocaml.html#Ocaml_nn4 - Michael