This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

struct pointer

struct A
{
.
.
.
};

struct B
{
struct A xdata *structA;
.
.
.
};

void test(struct B xdata *structB)
{
struct A xdata *structA = structB->structA;
}

structA is a pointer to xdata.
structB->structA becomes a generic pointer which i think is wrong. Does anyone know why?

0