Version française
Home     About     Download     Resources     Contact us    
Browse thread
callbacks from C to Caml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Florent Monnier <fmonnier@l...>
Subject: Re: [Caml-list] callbacks from C to Caml
> > 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?


--