Re: [ANN] ocaml-gir 0.9 alpha - binding generator for glib2-based libs
Jacques Garrigue <[email protected]> Mon, 12 Oct 2009 20:59:55 +0900 (JST)
| Newsgroups | gmane.comp.lang.ocaml.lib.gtk |
|---|---|
| Message-ID | <[email protected]> |
From: Adrien <[email protected]> > There is one problem for the webkit-gtk bindings however: webkit-gtk > now requires that "the thread system is initialized" which is done > through a call to g_init_thread() which isn't currently available in > lablgtk2 (I've seen some commented code reference to it however). > Would it be possible that this function is added in future releases? I certainly see no problem in adding it to lablgtk. The reason there is no such binding is only that lablgtk (even in its threaded version) doesn't use glib threads (relying on ocaml threads for synchronization is simpler). But I don't think glib threads would break anything. In the midtime, if you are building your own bindings, there should be no problem in adding it on your side. This is just some C code, which doesn't really need to be bound on the ML side. Jacques