Re: [Vala] Dynamic load in execution time



On Sat, 2013-08-24 at 13:22 +0200, rastersoft wrote:
Hi all:

I was wondering if Vala allows (or will allow in a near future) to load 
a .so during execution time (not in load time, like currently does) and 
access its methods and classes as usual, instead of having to work with 
function pointers and so on.

https://wiki.gnome.org/Vala/TypeModules (or libgee) is about as close as
you're going to get.

Usually you would want to put the library-specific stuff in a plug-in
which is linked to the library, then load the plugin dynamically (which
will also cause the library to be loaded).


-Evan



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