caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Kakadu <kakadu.hafanana@gmail.com>
To: "Jérémie Dimino" <jeremie@dimino.org>
Cc: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] [C] call Caml method
Date: Sat, 15 Oct 2011 15:22:22 +0400	[thread overview]
Message-ID: <CAGmVoG3n89x58+gyQB37hq33ymcXA8h+TCKF54XM+x5Sjdk7dw@mail.gmail.com> (raw)
In-Reply-To: <1318671867.21057.84.camel@aurora>

[-- Attachment #1: Type: text/plain, Size: 494 bytes --]

O_O
I want to install OCaml type-checker into my mind!

Thanks, Jérémie!

On Sat, Oct 15, 2011 at 1:44 PM, Jérémie Dimino <jeremie@dimino.org> wrote:

> 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
>
>
>

[-- Attachment #2: Type: text/html, Size: 818 bytes --]

      reply	other threads:[~2011-10-15 11:22 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
2011-10-15 11:22   ` Kakadu [this message]

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=CAGmVoG3n89x58+gyQB37hq33ymcXA8h+TCKF54XM+x5Sjdk7dw@mail.gmail.com \
    --to=kakadu.hafanana@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=jeremie@dimino.org \
    /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).