From: Erik de Castro Lopo <mle+ocaml@mega-nerd.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Calling OCaml from C - nothing shown on stdout
Date: Tue, 29 Jun 2010 20:52:54 +1000 [thread overview]
Message-ID: <20100629205254.c0f0ee28.mle+ocaml@mega-nerd.com> (raw)
In-Reply-To: <4C29CE90.60708@web.de>
Andreas Sommer wrote:
> Hi everybody,
>
> I'm trying to call a OCaml function from C code.
I don't see a call to caml_startup() from the C code which I believe
is necessary.
I've blogged this exact problem (calling into Ocaml from C) here:
http://www.mega-nerd.com/erikd/Blog/CodeHacking/Ocaml/calling_ocaml.html
Cheers,
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
next prev parent reply other threads:[~2010-06-29 10:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-29 10:44 Andreas Sommer
2010-06-29 10:52 ` Erik de Castro Lopo [this message]
2010-06-29 11:18 ` [Caml-list] " David Allsopp
2010-06-29 11:52 ` Matthieu Dubuget
2010-06-29 12:45 ` Andreas Sommer
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=20100629205254.c0f0ee28.mle+ocaml@mega-nerd.com \
--to=mle+ocaml@mega-nerd.com \
--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