在8356中做如下定义 typedef __pmem const struct node{ __pmem const struct node *pleft; int bcusorline; __pmem const struct node **psubnode; }strnode;
strnode *pCurrentNode; __pmem extern const strnode *subnode1[];
__pmem const strnode WinNode[]= { { &WinNode[0], 8, subnode1, }, }; __pmem const strnode *subnode1[]={&WinNode[0]};
执行取地址的操作: pCurrentNode=*subnode1[0]; 可为什么取出的地址不正确?实际程序都会跑飞?
|