[Gambas-devel] image-effect key value
Benoît Minisini
gambas at ...1...
Mon Oct 1 14:48:15 CEST 2012
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
More information about the Devel
mailing list