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 mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id CD600BBAF for ; Sun, 14 Feb 2010 16:45:54 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjQBAEqpd0tV2gB4mWdsb2JhbACDBZgtAQECAQgLCgcTI6tZjkmBMIJQWwSJYQ X-IronPort-AV: E=Sophos;i="4.49,472,1262559600"; d="scan'208";a="52726598" Received: from emailfrontal1.citycable.ch ([85.218.0.120]) by mail1-smtp-roc.national.inria.fr with SMTP; 14 Feb 2010 16:45:54 +0100 Received: from [192.168.0.12] (unknown [85.218.92.99]) (Authenticated sender: guillaume.yziquel@citycable.ch) by emailfrontal1.citycable.ch (Postfix) with ESMTPA id CD2EB12C1B3; Sun, 14 Feb 2010 16:45:47 +0100 (CET) Message-ID: <4B781ACC.4040603@citycable.ch> Date: Sun, 14 Feb 2010 16:46:20 +0100 From: Guillaume Yziquel Reply-To: guillaume.yziquel@citycable.ch User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090707) MIME-Version: 1.0 To: OCaml List Subject: Wrapping var_args, or C ... in ocaml? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; guillaume:01 guillaume:01 ocaml:01 c-api:01 functions:01 python:03 arg:03 args:05 somewhere:06 docs:07 wrap:08 i'm:09 documented:10 done:14 something:14 Hello. I'm currently looking at: http://docs.python.org/c-api/arg.html and I would like to know how to wrap up C functions with va_list of with an ellipsis. Is this documented somewhere, or has someone already done something like this? -- Guillaume Yziquel http://yziquel.homelinux.org/