Hello Joseph, Michael;

                   في ج، 19-08-2011 عند 18:04 +0100 ، كتب Michael Brown:
> Re-added the list.
> 
> You should look at the documentation for
> TypeModule<http://valadoc.org/references/gobject-2.0/0.11.5/GLib.TypeModule.html>.
> Basically you subclass this, and implement the load/unload methods to use
> Module <http://valadoc.org/references/gmodule-2.0/0.11.5/GLib.Module.html>.
> In the load method you construct Module, and in unload you assign null to
> the member referencing it, causing an unref and deletion. That in turn
> unloads the actual code.

I'm wondering if it isn't better to just use libpeas. Unless you need
something special or don't want to depend on an external library, it is
IMHO better to use something already there than reinventing the wheel.

HTH,
Abderrahim

_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to