[Click] cpElement
Bart Braem
bart.braem at ua.ac.be
Tue Jan 24 04:00:58 EST 2006
On Friday 20 January 2006 19:05, Koen Segers wrote:
> Where can I find the exact meaning of cpElement as used in the configure
> method? I made a design where every element is configured with this
> information element. But I suspect the element is copied, although I want
> in every element a pointer to only 1 element (pointer).
>
In confparse.cc the cp_element functions define the way cpElement is used, it
is parsed as follows:
case cpiElement: {
ContextErrorHandler cerrh(errh, String(argname) + " (" + desc + "):");
v->v.element = cp_element(arg, context, &cerrh);
break;
}
From what I know and have found elements are not copied upon parsing.
Bart
--
Bart Braem
PATS research group
Dept. of Mathematics and Computer Sciences
University of Antwerp
G2.36, Building G
Middelheimlaan 1
2020 Antwerpen, Belgium
Phone: +32 (0)3 265.35.19.
Fax: +32 (0)3 265.37.77.
Web: www.pats.ua.ac.be
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: not available
Url : https://amsterdam.lcs.mit.edu/pipermail/click/attachments/20060124/df37f39c/attachment.pgp
More information about the click
mailing list