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=1.1 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id CEFB9BC0A for ; Mon, 19 Feb 2007 19:32:46 +0100 (CET) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.238]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l1JIWiLJ017215 for ; Mon, 19 Feb 2007 19:32:46 +0100 Received: by nz-out-0506.google.com with SMTP id l8so1833674nzf for ; Mon, 19 Feb 2007 10:32:43 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=O9fAYM139fsVzjJhN95/dtuIfUe+Z286+V7/d+7bEoCs3OpQtbCaPmNmLvHmj4hvivnKk2MFL+AuGcBYC/71lGGaH+CZKc7SqYlGy9V5B3TtABvdVidDNdkO7ZOJshuOJgGHTFR9KY5pbDg+J/7be33tNgY+wLTmmwlfPNAK66I= Received: by 10.65.114.11 with SMTP id r11mr10140469qbm.1171909963636; Mon, 19 Feb 2007 10:32:43 -0800 (PST) Received: by 10.65.211.17 with HTTP; Mon, 19 Feb 2007 10:32:43 -0800 (PST) Message-ID: Date: Mon, 19 Feb 2007 10:32:43 -0800 From: "Nathaniel Gray" To: "Joel Reymont" Subject: Re: RE : [Caml-list] Examples of creating C++ library bindings Cc: "Mathias Kende" , caml-list@inria.fr In-Reply-To: <525CC2C9-90A4-4FF8-95B1-70EBE0F68D41@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <000101c75431$e7948730$c09ec781@mathiasens> <525CC2C9-90A4-4FF8-95B1-70EBE0F68D41@gmail.com> X-j-chkmail-Score: MSGID : 45D9ED4C.000 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 45D9ED4C.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; bindings:01 swig:01 swig:01 ocaml:01 ocaml:01 cheers:01 wrote:01 compile:01 caml-list:01 library:03 caltech:05 caltech:05 examples:07 generates:07 manually:08 On 2/19/07, Joel Reymont wrote: > Do I go with SWIG or do it manually? Unless you're willing to do some work on the SWIG OCaml generator you should avoid it. The code it generates doesn't compile. Having said that, if you *do* want to work on the SWIG OCaml generator it would be a great service to the community! Cheers, -n8 -- >>>-- Nathaniel Gray -- Caltech Computer Science ------> >>>-- Mojave Project -- http://mojave.cs.caltech.edu -->