如何转发声明以下treeNodeListCell结构?
我尝试struct treeNodeListCell在结构定义之前编写,但代码无法编译。
有人有想法吗?
struct treeNodeListCell;
typedef struct _treeNode {
treeNodeListCell *next_possible_positions;
} treeNode;
typedef struct _treeNodeListCell {
treeNode *node;
struct _treeNodeListCell *next;
} treeNodeListCell;
Run Code Online (Sandbox Code Playgroud)