Return type of vfuncs



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

While I tried to complete libanjutamm I ran into the following problem.
gmmproc generates this for a vfunc return a Glib::ListHandle:

(...)
typedef Glib::ListHandle<Editor*> RType;
return RType();
}

The bad thing is, that Glib::ListHandle does not have a constructor with
zero arguments so this will never work! The line to generate the vfunc
is the following:

_WRAP_VFUNC(Glib::ListHandle<Editor*> get_editors ( GError** err),
"get_editors")

How is this supposed to work or am I totally wrong?

Regards,
Johannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFLrgc7Dsf+G5b/WsRAvYrAJ9wLUB0CxF5zfwo3LAcN5W2USAH8ACeP3my
gcotIAQN/Hd0+oSp2IVwWQ0=
=CoVx
-----END PGP SIGNATURE-----



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