Version française
Home     About     Download     Resources     Contact us    
Browse thread
further name space depollution
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Hendrik Tews <H.Tews@c...>
Subject: further name space depollution
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