On 5/9/07, Sven Neumann <[EMAIL PROTECTED]> 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/
_______________________________________________
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer

Reply via email to