caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Florent Monnier <fmonnier@linux-nantes.fr.eu.org>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] callbacks from C to Caml
Date: Tue, 31 Jan 2006 12:47:15 +0100	[thread overview]
Message-ID: <200601311247.15960.fmonnier@linux-nantes.fr.eu.org> (raw)
In-Reply-To: <200601311212.56000.micha-1@fantasymail.de>

> > int main(void)
> > {
> >     call_caml_f(2);
> >     call_caml_f(5);
> >
> >     return 0;
> > }
>
> isn't there a caml_startup(argv) missing?

Yes indeed!

Now there is no segfault anymore, but
nothing happens!

print_int should print something, but there is nothing at all!?..

What could be wrong?


-- 


  reply	other threads:[~2006-01-31 11:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-31 11:09 Florent Monnier
2006-01-31 11:12 ` [Caml-list] " Michael Wohlwend
2006-01-31 11:47   ` Florent Monnier [this message]
2006-01-31 12:03     ` Michael Wohlwend

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=200601311247.15960.fmonnier@linux-nantes.fr.eu.org \
    --to=fmonnier@linux-nantes.fr.eu.org \
    --cc=caml-list@yquem.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;
as well as URLs for NNTP newsgroup(s).