Browse thread
Calling OCaml from C - nothing shown on stdout
-
Andreas Sommer
- Erik de Castro Lopo
- David Allsopp
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Erik de Castro Lopo <mle+ocaml@m...> |
| Subject: | Re: [Caml-list] Calling OCaml from C - nothing shown on stdout |
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/