From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 77DF0BBAF for ; Mon, 15 Feb 2010 00:19:53 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEACsUeEtQRFuw/2dsb2JhbACbG3S6Q4RbBA X-IronPort-AV: E=Sophos;i="4.49,473,1262559600"; d="scan'208";a="57019747" Received: from furbychan.cocan.org ([80.68.91.176]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/AES256-SHA; 15 Feb 2010 00:19:53 +0100 Received: from rich by furbychan.cocan.org with local (Exim 4.63) (envelope-from ) id 1Ngnkm-0008T1-D5; Sun, 14 Feb 2010 23:19:52 +0000 Date: Sun, 14 Feb 2010 23:19:52 +0000 To: Guillaume Yziquel Cc: OCaml List Subject: Re: [Caml-list] Wrapping var_args, or C ... in ocaml? Message-ID: <20100214231952.GD24949@annexia.org> References: <4B781ACC.4040603@citycable.ch> <20100214180650.GA22433@annexia.org> <4B787D32.10505@citycable.ch> <20100214225931.GC24949@annexia.org> <4B78838D.1040208@citycable.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4B78838D.1040208@citycable.ch> User-Agent: Mutt/1.5.13 (2006-08-11) From: Richard Jones X-Spam: no; 0.00; ocaml:01 0100,:01 guillaume:01 0100,:01 guillaume:01 c-api:01 bindings:01 wrote:01 wrote:01 caml-list:01 functions:01 functions:01 python:03 python:03 arg:03 On Mon, Feb 15, 2010 at 12:13:17AM +0100, Guillaume Yziquel wrote: > Richard Jones a écrit : > >On Sun, Feb 14, 2010 at 11:46:10PM +0100, Guillaume Yziquel wrote: > >>Not the case. > >[etc] > > > >It would help if you were to be more specific about the function that > >you're trying to bind. > > http://docs.python.org/c-api/arg.html > > There's quite a few there... OK ... I've done a lot of bindings of C functions to Python and obviously the functions you've pointed out above are important for that. However I'm still confused what you are trying to do here. If you're trying to bind the above, maybe look first at PyCaml? Rich. -- Richard Jones Red Hat