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=HTML_MESSAGE autolearn=disabled version=3.1.3 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 87602BBCA for ; Sat, 5 Apr 2008 22:46:49 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgYBAHCB90dA6bjrd2dsb2JhbACCPjaOYAEMAwQFCRaTCoUo X-IronPort-AV: E=Sophos;i="4.25,609,1199660400"; d="scan'208";a="24651726" Received: from wr-out-0506.google.com ([64.233.184.235]) by mail4-smtp-sop.national.inria.fr with ESMTP; 05 Apr 2008 22:46:49 +0200 Received: by wr-out-0506.google.com with SMTP id c30so534397wra.21 for ; Sat, 05 Apr 2008 13:46:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; bh=DwNswhDS8Uc2/NhhV1GzVM4u9DZQ9KIAXYq1TUUVKfI=; b=T1DrotTi2y+pcx7n35wQfVqk6/PakAZL+Ck+v8vsWHtGBCbVKxKoJ5rQjONJYGg8u2MOymTEcE5bqpcOF7jksnkTNA2/dD2oxaQ+SERD974hemw8QwykH0TGd0PNt7i6l2fDfECpiVFdmoiX3G4DaY0jBKw9y8mWeKMhp0AuCpI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=k0x41F1DEungEWAj97BofW67y+ViizYG1ULz8CocCMi8Wc0wyp66/HAYURLa1R/QG7CM2lmp4iE83htUkSY6wEkwmGA0QAD1CsGkepG1edqMWIGYAgKr4d6eYnMZ2FpvnyPGHQHmwxaXoyQZsB5zmytFy7v9eXGPKc7CDoyRTds= Received: by 10.141.29.14 with SMTP id g14mr1063248rvj.241.1207428407295; Sat, 05 Apr 2008 13:46:47 -0700 (PDT) Received: by 10.140.158.1 with HTTP; Sat, 5 Apr 2008 13:46:47 -0700 (PDT) Message-ID: Date: Sat, 5 Apr 2008 16:46:47 -0400 From: "Andrew I. Schein" Sender: drandrewschein@gmail.com To: caml-list@yquem.inria.fr Subject: c/OCaml interface question... Bigarray MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8829_18817066.1207428407249" X-Google-Sender-Auth: 3315afe094d78f35 X-Spam: no; 0.00; ocaml:01 bigarray:01 bigarray:01 stubs:01 camlparam:01 camlreturn:01 stubs:01 camlparam:01 camlreturn:01 macros:01 macros:01 macro:03 macro:03 interface:06 function:08 ------=_Part_8829_18817066.1207428407249 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I have been looking at the Bigarray code to figure out how it works. I see in the bigarray_get_N function inside bigarray_stubs.c, that there is no use of macro CAMLParam* or CAMLReturn. How is it that these macros are unnecessary in this code? Thanks, Andy -- Andrew I. Schein web: www.andrewschein.com ------=_Part_8829_18817066.1207428407249 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I have been looking at the Bigarray code to figure out how it works.  I see in the bigarray_get_N function inside bigarray_stubs.c, that there is no use of macro CAMLParam* or CAMLReturn.  How is it that these macros are unnecessary in this code?

Thanks,

Andy

--
Andrew I. Schein
web: www.andrewschein.com

------=_Part_8829_18817066.1207428407249--