Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
va_arg values
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-01-15 (10:44)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] va_arg values
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.


Richard Jones
Red Hat UK Limited