[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: PropertyType_Load
- From: Lars Clausen <lrclause cs uiuc edu>
- To: dia-list gnome org
- Subject: Re: PropertyType_Load
- Date: Thu, 03 Jul 2003 03:42:05 -0500
On 03 Jul 2003, Philippe Faes wrote:
> The file properties.h contains this definition:
>
> typedef void (*PropertyType_Load)(Property *prop, AttributeNode attr,
> DataNode data);
>
> However, it seems that the load funtions don't use "attr", but only
> "data". I didn't check the load funtions of ALL properties, obviously...
The pointarrayprop load function uses attr.
find . -name \*.c | xargs grep --after-context=6 prop_load\( | less
is your friend:)
> Why are there two Nodes being passed to the load functions? Is this for
> historical reasons only? Is it safe for me to use only "data", and
> ignore "attr"?
It's XML. Remember it's <tag attr="value">data</tag>. Functions must have
access to both, it's just that most don't use any attributes.
-Lars
--
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| HÃ¥rdgrim of Numenor
"I do not agree with a word that you say, but I |----------------------------
will defend to the death your right to say it." | Where are we going, and
--Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket?
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Mail converted by Mofo Magic and the Flying D
All trademarks and copyrights are the property of
their respective owners.
Related Sites:
eBay Registration |
Bakie Directory |
Directory Owners Forum |
eLoan |
Cash Advance |
OPEN |
OPEN |
OPEN |
FreeCreditReport.com |
Powered by: vBulletin Version 3.5.3,
Copyright ©2000 - 2003, Jelsoft Enterprises Limited.
GuideSMACK