From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p21E5gii004480 for ; Tue, 1 Mar 2011 15:05:42 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtkBAGCMbE3RVdg0kGdsb2JhbACmRAgVAQEBAQkJDAcRBCGgP4oggh2FPC+IWwEBAwWFXASFDIcThlSBfTo X-IronPort-AV: E=Sophos;i="4.62,246,1297033200"; d="scan'208";a="88937783" Received: from mail-qw0-f52.google.com ([209.85.216.52]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 01 Mar 2011 15:05:36 +0100 Received: by qwf6 with SMTP id 6so4870546qwf.39 for ; Tue, 01 Mar 2011 06:05:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=AyKNefyu0nURO+FSmaWlLOFfzKDScm8Xhjf4MxjfNBM=; b=Aoq76tlaJjvIXRM7dcyafYx+oVsglGlRS/5ecJWX1hGyRXI/Ai3icMAxID1hcpvcXT MwgQ6Yfmb+Lqs0FBBmPxik09hh+kNoBCbHbJmotuIW7XM0XR4lszgvMZl3VzKJDBkV37 oTZZUUpjaQRuuQKr+Rh0eJlF8FTZKd24SBu8k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=uDYxLefsh10YL+RWKvg7/qmVFLMOY33JAcornj38qoYSk5YKXSKVkoxixHZeSloaTK TcLGBIg1H/dGRflDa5h3wiVrDfd47oDZdqQAhoA17SiL6OsFGIL6uM4uZy9wzk1PANPG uiH+IZMv/pkobcO7ru12cHygkAv8jdifLgsGQ= MIME-Version: 1.0 Received: by 10.229.211.138 with SMTP id go10mr5222030qcb.195.1298988332679; Tue, 01 Mar 2011 06:05:32 -0800 (PST) Received: by 10.229.96.136 with HTTP; Tue, 1 Mar 2011 06:05:32 -0800 (PST) In-Reply-To: References: Date: Tue, 1 Mar 2011 17:05:32 +0300 Message-ID: From: Dmitry Bely To: OCaml List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id p21E5gii004480 Subject: Re: [Caml-list] Errors in the manual On Tue, Mar 1, 2011 at 4:37 AM, Niki Yoshiuchi wrote: > While we are on the topic... > > A lot of the C functions/macros have different names in the manual. > For example, the Bigarray allocation functions are called > "alloc_bigarray" and "alloc_bigarray_dims" in the manual > (http://caml.inria.fr/pub/docs/manual-ocaml/manual043.html) but are > actually "caml_ba_alloc" and "caml_ba_alloc_dims".  I've noticed a > couple other discrepancies (I think they all dealt with allocations, > actually). Names without caml_ prefix are "old" ones. They are equal to prefixed names until CAML_NAME_SPACE macro is defined: #define alloc_bigarray caml_ba_alloc #define alloc_bigarray_dims caml_ba_alloc_dims For more details see caml/compatibility.h - Dmitry Bely