caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* camlidl and the CAMLxxx macros
@ 2006-11-09 16:30 Yitzhak Mandelbaum
  2006-11-09 19:43 ` [Caml-list] " Jon Harrop
  2006-11-12  9:02 ` Xavier Leroy
  0 siblings, 2 replies; 3+ messages in thread
From: Yitzhak Mandelbaum @ 2006-11-09 16:30 UTC (permalink / raw)
  To: caml-list

Hi,

Does anyone know why the code generated by camlidl does not use the 
CAMLxxx macros that are specified by the OCaml manual?

Thanks
Yitzhak Mandelbaum


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] camlidl and the CAMLxxx macros
  2006-11-09 16:30 camlidl and the CAMLxxx macros Yitzhak Mandelbaum
@ 2006-11-09 19:43 ` Jon Harrop
  2006-11-12  9:02 ` Xavier Leroy
  1 sibling, 0 replies; 3+ messages in thread
From: Jon Harrop @ 2006-11-09 19:43 UTC (permalink / raw)
  To: caml-list

On Thursday 09 November 2006 16:30, Yitzhak Mandelbaum wrote:
> Does anyone know why the code generated by camlidl does not use the
> CAMLxxx macros that are specified by the OCaml manual?

Because it was written by the people who wrote those macros. ;-)

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
Objective CAML for Scientists
http://www.ffconsultancy.com/products/ocaml_for_scientists


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] camlidl and the CAMLxxx macros
  2006-11-09 16:30 camlidl and the CAMLxxx macros Yitzhak Mandelbaum
  2006-11-09 19:43 ` [Caml-list] " Jon Harrop
@ 2006-11-12  9:02 ` Xavier Leroy
  1 sibling, 0 replies; 3+ messages in thread
From: Xavier Leroy @ 2006-11-12  9:02 UTC (permalink / raw)
  To: Yitzhak Mandelbaum; +Cc: caml-list

> Does anyone know why the code generated by camlidl does not use the
> CAMLxxx macros that are specified by the OCaml manual?

The API for GC root registration went through several design cycles,
and CamlIDL was mostly written before the latest API (the CAMLxxx
macros) was implemented.  Besides, the Begin_roots* macros used in
CamlIDL-generated code, while lower-lever than the CAMLxxx macros,
are no harder, and maybe slightly simpler, to generate automatically
by a program such as CamlIDL.

- Xavier Leroy


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-11-12  9:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-09 16:30 camlidl and the CAMLxxx macros Yitzhak Mandelbaum
2006-11-09 19:43 ` [Caml-list] " Jon Harrop
2006-11-12  9:02 ` Xavier Leroy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).