typedef struct {
uint8_t x;
uint8_t q;
           } Type1;

typedef struct {
                  uint8_t a;
                  type1 b;
                  } Type2;


now, if I want to put A in the b field of B, what am I supposse to do???
Say, i have this situation:

type1 * A;
type2 * B;

A->x=1;
A->q=2;

B->a=1;
B->b= ???
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to