From: Sven LUTHER <luther@dpt-info.u-strasbg.fr>
To: Jean-Christophe Filliatre <Jean-Christophe.Filliatre@lri.fr>
Cc: David Fox <dsfox@cogsci.ucsd.edu>, caml-list@inria.fr
Subject: Re: [Caml-list] Quick question - accessing variant value from C
Date: Thu, 29 Mar 2001 10:36:19 +0200 [thread overview]
Message-ID: <20010329103619.A23630@lambda.u-strasbg.fr> (raw)
In-Reply-To: <15042.59930.557493.133492@pc803>; from Jean-Christophe.Filliatre@lri.fr on Thu, Mar 29, 2001 at 09:54:02AM +0200
On Thu, Mar 29, 2001 at 09:54:02AM +0200, Jean-Christophe Filliatre wrote:
>
> Hi,
>
> You can use the macros Is_long / Is_block to discriminate between Null
> and Address, since the first one is represented as an integer and the
> second one as a structured block (in the later case, you can then
> access the string with the Field macro).
Additionally, some reading of the "Interfacing C with Objective Caml" chapter
of the ocaml documentation is a must read for this, far more inmportant than
the mlvalues.h file, i think.
Friendly,
Sven Luther
-------------------
To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr
prev parent reply other threads:[~2001-03-29 8:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-29 5:48 David Fox
2001-03-29 7:54 ` Jean-Christophe Filliatre
2001-03-29 8:36 ` Sven LUTHER [this message]
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=20010329103619.A23630@lambda.u-strasbg.fr \
--to=luther@dpt-info.u-strasbg.fr \
--cc=Jean-Christophe.Filliatre@lri.fr \
--cc=caml-list@inria.fr \
--cc=dsfox@cogsci.ucsd.edu \
/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