[gtkada] Get_Attributes in Glib.XML
Preben Randhol
randhol at pvv.org
Mon Apr 14 17:47:04 CEST 2003
Preben Randhol <randhol at pvv.org> wrote on 14/04/2003 (12:19) :
> Emmanuel Briot <briot at ACT-Europe.FR> wrote on 14/04/2003 (11:53) :
> >
> > No problem with that, as long as there is a clear comment indicating
> > who is responsible for freeing the memory :-)
>
> It should not be freed like in get_field, but I haven't had the time to
> go through the code to make sure that this is correct. I'll do it when I
> get the parser up.
Arg I see now that I was a bit hasty. Get_Attribute that return a
String_Ptr gets messy as the user must free the string. I'll remove it
and redesign gate.
--
Preben Randhol ------------------- http://www.pvv.org/~randhol/ --
«For me, Ada95 puts back the joy in programming.»
More information about the gtkada
mailing list