caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Hendrik Tews <H.Tews@cs.ru.nl>
To: caml-list@inria.fr
Subject: further name space depollution
Date: Fri, 15 Dec 2006 11:12:20 +0100	[thread overview]
Message-ID: <17794.29956.865143.21076@tandem.cs.ru.nl> (raw)

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


                 reply	other threads:[~2006-12-15 10:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17794.29956.865143.21076@tandem.cs.ru.nl \
    --to=h.tews@cs.ru.nl \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).