Re: [Gambas-devel] image-effect key value
Brought to you by:
gambas
From: Benoît M. <ga...@us...> - 2012-10-01 12:48:35
|
Le 01/10/2012 14:41, Laurent Carlier a écrit : > Le lundi 1 octobre 2012 14:25:18 Benoît Minisini a écrit : >> Le 01/10/2012 14:17, Laurent Carlier a écrit : >>> gb.complex component should also be part of gambas3-runtime package (as it >>> can be superseded by gb.gsl component) >> >> Why? You can run gambas with explicit complex number support from >> gb.gsl, with explicit complex number support from gb.complex, or with >> the implicit complex number support from gb.complex, or without any >> complex number support if gb.complex is not installed in the system. > > So an Application can say "Hey, i want complex number support!", So gambas > will make these steps ?: > > check for gb.gsl -> yes -> ok > \-> no -> check for gb.complex -> yes -> ok > \-> no -> error (or fallback/disabling) > No, it just checks for gb.complex (like it does for gb.eval). gb.gsl must be used explicitely. And if gb.gsl is used, of course gb.complex is never checked. See `EXEC_push_complex()` in `gbx_exec.c` source file. -- Benoît Minisini |