From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 539BFBC0B for ; Fri, 15 Dec 2006 11:12:23 +0100 (CET) Received: from smeltpunt.science.ru.nl (smeltpunt.science.ru.nl [131.174.16.145]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id kBFACMde024081 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 15 Dec 2006 11:12:23 +0100 Received: from tandem.cs.ru.nl [131.174.142.18] (helo=tandem.cs.ru.nl) by smeltpunt.science.ru.nl (8.13.7/5.10) with ESMTP id kBFACKGL012879 for ; Fri, 15 Dec 2006 11:12:20 +0100 (MET) Received: from tews by tandem.cs.ru.nl with local (Exim 4.63) (envelope-from ) id 1GvA3A-00035n-T1 for caml-list@inria.fr; Fri, 15 Dec 2006 11:12:20 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17794.29956.865143.21076@tandem.cs.ru.nl> Date: Fri, 15 Dec 2006 11:12:20 +0100 To: caml-list@inria.fr Subject: further name space depollution X-Mailer: VM 7.19 under Emacs 21.4.1 From: Hendrik Tews X-Scanned-By: MIMEDefang 2.56 on 131.174.16.145 X-Miltered: at discorde with ID 45827506.004 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; hendrik:01 tews:01 tews:01 3.08:01 clashes:01 mlvalues:01 hendrik:01 macros:01 macros:01 caml:02 caml:02 publically:03 seems:03 types:03 renamed:04 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