From: Mathias Kende <mathias@kende.fr>
To: Jianzhou Zhao <jianzhou@seas.upenn.edu>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] OCaml Int64 <-> C int64_t
Date: Wed, 18 Aug 2010 19:36:37 +0200 [thread overview]
Message-ID: <1282152997.21939.13.camel@mathias-ens> (raw)
In-Reply-To: <AANLkTin3BJ=p9hmCMGBAc6H76_b0fPCo6+Qktws6CtzG@mail.gmail.com>
Le mercredi 18 août 2010 à 13:28 -0400, Jianzhou Zhao a écrit :
> But mlvalues.h does not declare them to use. How can I
> convert int64 to value?
caml_copy_int64 is declared in <caml/alloc.h>. There is no Val_int64
macro because int64 values are heap objects which must be allocated (the
Val_... macros are mostly just static_cast).
Mathias
next prev parent reply other threads:[~2010-08-18 17:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-18 17:28 Jianzhou Zhao
2010-08-18 17:36 ` Mathias Kende [this message]
2010-08-18 18:16 ` [Caml-list] " Jianzhou Zhao
2010-08-18 18:47 ` Mathias Kende
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=1282152997.21939.13.camel@mathias-ens \
--to=mathias@kende.fr \
--cc=caml-list@yquem.inria.fr \
--cc=jianzhou@seas.upenn.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