From: Serge Aleynikov <serge@hq.idt.net>
To: caml-list@inria.fr
Subject: big_int
Date: Thu, 21 Dec 2006 14:37:19 -0500 [thread overview]
Message-ID: <458AE26F.8080802@hq.idt.net> (raw)
Greetings!
I'm trying to figure out how to pass a big integer (encoded using GMP
library) from C to OCaml so that it could be read on the OCaml side
using Big_int module. The interoperability macros listed in the manual
(http://caml.inria.fr/pub/docs/manual-ocaml/manual032.html) and in the
interoperability header files don't seem to have anything applicable for
Big_int's.
Could someone point me to an example or resource of how to encode/decode
a Big_int from/to C?
Thanks.
Serge
--
Serge Aleynikov
Routing R&D, IDT Telecom
Tel: +1 (973) 438-3436
Fax: +1 (973) 438-1464
next reply other threads:[~2006-12-21 19:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-21 19:37 Serge Aleynikov [this message]
2006-12-21 19:44 ` [Caml-list] big_int Serge Aleynikov
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=458AE26F.8080802@hq.idt.net \
--to=serge@hq.idt.net \
--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