From: Serge Aleynikov <serge@hq.idt.net>
To: caml-list@inria.fr
Subject: Re: [Caml-list] big_int
Date: Thu, 21 Dec 2006 14:44:22 -0500 [thread overview]
Message-ID: <458AE416.9090405@hq.idt.net> (raw)
In-Reply-To: <458AE26F.8080802@hq.idt.net>
Sorry for extra noise - I found what I needed in the nat_stubs.c of the
numeric library that comes in the sources of distribution.
Serge
Serge Aleynikov wrote:
> 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 prev parent reply other threads:[~2006-12-21 19:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-21 19:37 big_int Serge Aleynikov
2006-12-21 19:44 ` Serge Aleynikov [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-11-01 11:21 [Caml-list] Big_int Marcin 'Qrczak' Kowalczyk
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=458AE416.9090405@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