Re: [Gimp-developer] Re: Tiny-Fu: A new plug-in for GIMP

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

 



Hi,

Markus Triska <triska@xxxxxx> writes:

> > Are any of them already ported? If not, I will change them to not use
> > arrays.
> 
> Well, at least the trivial cases (where the arrays are used only inside the 
> script) - there are some PDB functions that use arrays as arguments or as 
> return values, and I don't know what to do with them, for example 
> gimp-cursves-spline and gimp-image-get-layers.

The fact that the PDB uses arrays doesn't necessarily mean that a
language binding such as Tiny-Fu needs to represent them as arrays.
One of the most annoying bits of Script-Fu is that it forces you to
work with arrays even though the natural choice for a scheme dialekt
would be lists. If Tiny-Fu cannot provide backward-compatibility, then
it should overcome this mistake and map the PDB API to lists.


Sven

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux