packaging jack...

Felipe Sateler fsateler at gmail.com
Tue Apr 20 01:07:46 UTC 2010


On Mon, Apr 19, 2010 at 10:48, Reinhard Tartler <siretart at tauware.de> wrote:
> On Mon, Apr 19, 2010 at 15:19:38 (CEST), Felipe Sateler wrote:
>
>> But there is a point. If an application is expected to cope with
>> missing functions at runtime, why not at compile time too?
>
> because the used implementation at runtime might not match the
> implementation that was used at compilation time?

That's the whole point of using weak symbols. Some jack functions are
guaranteed to exist, others aren't. The ones that aren't are weakly
linked, so the program can do:

if(some_jack_function) {
     some_jack_function(args);
}


Thus the implementations need not match at runtime.
-- 

Saludos,
Felipe Sateler



More information about the pkg-multimedia-maintainers mailing list