From: Markus Mottl <mottl@miss.wu-wien.ac.at>
To: Xavier Leroy <Xavier.Leroy@inria.fr>
Cc: Nicolas Joliot <Nicolas.Joliot@irisa.fr>, caml-list@inria.fr
Subject: Re: Interfaçage C/CAML
Date: Fri, 11 Aug 2000 12:54:11 +0200 [thread overview]
Message-ID: <20000811125411.A28948@miss.wu-wien.ac.at> (raw)
In-Reply-To: <20000811102447.47236@pauillac.inria.fr>; from Xavier.Leroy@inria.fr on Fri, Aug 11, 2000 at 10:24:47 +0200
On Fri, 11 Aug 2000, Xavier Leroy wrote:
> > It seems that a common bug has struck again: using "Store_{whatever}" in
> > C-interfaces is only allowed (and then mandatory) with structured blocks.
> > Using it for anything else may crash the GC.
>
> No, no, no! Store_field can only be used (and is mandatory) for
> structured blocks (with tag < No_scan_tag), but Store_double_field
> can be used (and is mandatory) for blocks with tag Double_array_tag.
Uff, yes, indeed, my explanation of "Store_{whatever}" was actually
correct, but I forgot about the specific treatment of double arrays (or
more precisely: values with the "Double_array_tag"), which are unboxed and
therefore do not fall under the rules for structured blocks.
Sorry for the confusion! Since I had seen problems with "Store_{...}"
already three times, I didn't think further about the special case...
Best regards,
Markus Mottl
--
Markus Mottl, mottl@miss.wu-wien.ac.at, http://miss.wu-wien.ac.at/~mottl
next prev parent reply other threads:[~2000-08-14 16:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-10 16:05 Nicolas Joliot
2000-08-10 17:14 ` Markus Mottl
2000-08-11 8:24 ` Xavier Leroy
2000-08-11 10:54 ` Markus Mottl [this message]
2000-08-11 8:58 ` David Mentré
2000-08-14 17:35 David McClain
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=20000811125411.A28948@miss.wu-wien.ac.at \
--to=mottl@miss.wu-wien.ac.at \
--cc=Nicolas.Joliot@irisa.fr \
--cc=Xavier.Leroy@inria.fr \
--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