MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17183.23397.685121.515500 at karryall.dnsalias.org> Date: Wed, 7 Sep 2005 23:28:05 +0200 From: Olivier andrieu To: romildo at uber.com.br Cc: lablgtk at math.nagoya-u.ac.jp Subject: Re: Any chance of having gtk+extra in OCaml? In-Reply-To: <20050907094743.GA11402 at malaquias> References: <20050907094743.GA11402 at malaquias> romildo@uber.com.br [Wednesday 7 September 2005] : > > There is gtk+extra (http://gtkextra.sourceforge.net/), but it does > not have any bindings for OCaml. Is there any chance of having it > ported to OCaml? Is it difficult to make such a port? It depends. Lots of gtk-related libraries outside of the GNOME project are broken wrt memory management. Wrapping GTK+ is manageable because the API has strict conventions about memory management that make it easy to plug a garbage collector in. When a library doesn't use these conventions, it's much more difficult to bind in a safe way (sometimes it's just impossible). -- Olivier