[Gegl-developer] Move parse/to_xml to GeglNode?
Øyvind Kolås
pippin at gimp.org
Sun Feb 18 03:18:27 PST 2007
On 2/18/07, Gabriel Burt <gabriel.burt at gmail.com> 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/
More information about the Gegl-developer
mailing list