[Gegl-developer] Operations that I require

Øyvind Kolås pippin at gimp.org
Wed May 9 03:55:13 PDT 2007


On 5/9/07, Sven Neumann <sven at gimp.org> wrote:
> On Wed, 2007-05-09 at 10:59 +0200, Øyvind Kolås wrote:
> > Passing in a function means having an expression
> > parser in-place, in general I feel that doing so is adding unwarranted
> > complexity.
>
> I don't think Mark suggested to pass in a function literally. He
> suggested to allow passing a callback function. GEGL would then call
> this function whenever it needs a curves value. His suggestions make a
> lot of sense to me and I think you should consider them.

Passing in a pointer to a callback function will work in C, but will
not work for XML serialization, C#, Ruby, Python etc.

/Øyvind K.
-- 
«The future is already here. It's just not very evenly distributed»
                                                 -- William Gibson
http://pippin.gimp.org/                            http://ffii.org/


More information about the Gegl-developer mailing list