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 discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 56D02BC0B for ; Mon, 15 Jan 2007 11:44:13 +0100 (CET) Received: from furbychan.cocan.org (furbychan.cocan.org [80.68.91.176]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l0FAiCMZ008628 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Mon, 15 Jan 2007 11:44:13 +0100 Received: from rich by furbychan.cocan.org with local (Exim 3.35 #1 (Debian)) id 1H6PJv-0004U1-00; Mon, 15 Jan 2007 10:44:07 +0000 Date: Mon, 15 Jan 2007 10:44:07 +0000 To: Bob Matcuk Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] va_arg values Message-ID: <20070115104406.GC12311@furbychan.cocan.org> References: <200701132310.l0DNArug026315@discorde.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200701132310.l0DNArug026315@discorde.inria.fr> User-Agent: Mutt/1.5.9i From: Richard Jones X-Miltered: at discorde with ID 45AB5AFC.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; camlparam:01 camlreturn:01 cpp:01 wrote:01 caml-list:01 macros:01 macros:01 caml:02 roots:02 arg:03 red:92 actually:10 possibly:12 some:14 advance:15 On Sat, Jan 13, 2007 at 07:18:49PM -0500, Bob Matcuk wrote: > Thanks in advance for any insight! The CAMLparam/CAMLlocal/CAMLreturn/CAMLxparam macros are pretty simple to understand. I suggest you take some simple code using these macros, run it through cpp, and have a look at what these macros actually generate. You will be able to make your own (possibly non-portable) variations which update caml_local_roots etc. directly. If that is necessary. Rich. -- Richard Jones Red Hat UK Limited