In real(TM) C that is a structure assignment and should copy
the entire contents of 'e' to 'd'. I believe nesc supports
that paradigm.
To assign addresses (pointers) you would do:
thing da_ting;
thing *d, *e;
e = &da_ting;
d = e;
MS
jose m wrote:
having this declarations...
typedef struct thing{
uint8_t a;
uint8_t b;
uint8_t c[28];
} thing;
thing d, e;
if I do d = e, elements in e.c are copied to d.c or
the address of e.c is copied to d.c?
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help