On Tue, Mar 16, 2010 at 03:49:21PM +0000, Daniel P. Berrange wrote:
Oh I see - this struct is actually attempting to create a GObject subclass containing a guestfs_h *. This definitely don't work, because of the mis-matched ptrs you mention. I thought you were registering 'guestfs_h *' itself as the type without the 'struct _GuestfsH' wrapper. This avoids GObject entirely introducing a new base type.
I'll try that ... We're quite far outside the realms of what has been tried before with gobject though ... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#) http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora