[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: camlSys__entry vs. FreeBSD kmod

On Wed, Jul 11, 2012 at 03:20:20PM +0200, PALI Gabor Janos wrote:
> ...
> caml_startup(NULL);
> main_closure = caml_named_value("main");
> if (!main_closure) bail_out();
> caml_callback(*main_closure, Val_int(42));
> ...

Sorry, I have to correct myself: caml_startup() needs some sensible argument,
i.e. a NULL-terminated array of strings.  This is { "kmod", NULL } for now.



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.