From: David Fox <dsfox@cogsci.ucsd.edu>
To: caml-list@inria.fr
Subject: [Caml-list] Quick question - accessing variant value from C
Date: 28 Mar 2001 21:48:41 -0800 [thread overview]
Message-ID: <luelvh6s7a.fsf@hci.ucsd.edu> (raw)
In-Reply-To: Alex Baretta's message of "Sat, 17 Mar 2001 02:35:47 +0100"
I have a value of the following type being passed to an external:
type pointer = Null | Address of string
and I'd like to determine (in the C code) which variant the value is
and get the pointer to the string. I've stared at mlvalues.h for a
while, but I can't really figure it out. Can anyone help? You won't
regret it...
-------------------
To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr
next reply other threads:[~2001-03-29 5:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-29 5:48 David Fox [this message]
2001-03-29 7:54 ` Jean-Christophe Filliatre
2001-03-29 8:36 ` Sven LUTHER
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=luelvh6s7a.fsf@hci.ucsd.edu \
--to=dsfox@cogsci.ucsd.edu \
--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