Re: Move parse/to_xml to GeglNode?

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

 



On 2/18/07, Gabriel Burt <gabriel.burt@xxxxxxxxx> wrote:
> Hello,
>
> While working on gegl-sharp I noticed that it would seem to make more
> sense to have gegl_parse_xml be a static method in GeglNode and
> gegl_to_xml be an instance method of GeglNode.  Just a suggestion.
> Thanks!

Maybe they should be renamed gegl_node_parse_xml and gegl_node_to_xml.
They will not be merged into gegl-node.c anyways that file is too big
and needs to be split up. I am even tempted to only rename
gegl_node_to_xml and keep gegl_parse_xml as a global function.

The XML format isn't stabilized and thus we should probably have
avoided exposing it in the API. But they are useful and do work. The
fact that the XML format is in flux should probably be more strongly
indicated in the API documentation.

/Ø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@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer


[Index of Archives]     [Yosemite News]     [Yosemite Photos]     [gtk]     [GIMP Users]     [KDE]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux