Re: hdf_copy() doesnt copy default value..
Mario Gliewe <[email protected]> Wed, 21 May 2008 21:39:14 +0200
| Newsgroups | gmane.text.clearsilver.general |
|---|---|
| Message-ID | <[email protected]> |
David Jeske schrieb: > I suspect the attributes are not copied simply because hdf_copy was written > before attributes existed. I don't understand Mario's use of the term "source > default value", what does that mean? The only default values I'm familiar with > are the ones supplied in an hdf_get but those are not stored in the tree. Well, even if a node has subnodes, it still may have a value. hdf_obj_get() would be the function in question. Therefore, if the source node i'm copying from has a value, it could be copied as well. But i agree with Brandon, its a design decision, once done, it shouldn't be changed lightly, as it might break existing applications. greets maG