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