PropertyType_Load



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...

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"?

thanks
-- 
grtz
PhF





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