caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* further name space depollution
@ 2006-12-15 10:12 Hendrik Tews
  0 siblings, 0 replies; only message in thread
From: Hendrik Tews @ 2006-12-15 10:12 UTC (permalink / raw)
  To: caml-list

Hi,

since 3.08 global C identifiers are prefixed with "caml_" to
avoid name clashes with other libraries. However, this applies
only to function names and not to type names. Therefore it for
instance not possible to use the CAMLlocal macros in a method of
a class that declares a value field: one will get a clash with
the value type used inside CAMLlocal.

"value" seems to be a very common identifier and should be
renamed. But also the other publically visible types and macros
in mlvalues should get some caml prefix.

Bye,

Hendrik


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-15 10:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-15 10:12 further name space depollution Hendrik Tews

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).