From: "Jérémie Dimino" <jeremie@dimino.org>
To: Kakadu <kakadu.hafanana@gmail.com>
Cc: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] [C] call Caml method
Date: Sat, 15 Oct 2011 11:44:26 +0200 [thread overview]
Message-ID: <1318671867.21057.84.camel@aurora> (raw)
In-Reply-To: <CAGmVoG3JbmLcPnwM33HVxosWEB0eM2mQqxrv6reRMnuooaEf0A@mail.gmail.com>
Hi,
Le samedi 15 octobre 2011 à 13:30 +0400, Kakadu a écrit :
> arg1 = Val_int(1);
> // caml_callback2(meth, obj, arg1); // segfault in this line
In your example arg1 should be a string, here it is an int. And the
commented line is the right way to call the method.
Cheers,
--
Jérémie
next prev parent reply other threads:[~2011-10-15 9:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-15 9:30 Kakadu
2011-10-15 9:44 ` Jérémie Dimino [this message]
2011-10-15 11:22 ` Kakadu
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=1318671867.21057.84.camel@aurora \
--to=jeremie@dimino.org \
--cc=caml-list@inria.fr \
--cc=kakadu.hafanana@gmail.com \
/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