struct llist_element {
    struct llist_element * next;
    void * data;
};


typedef struct llist_element llist_elm;

 

llist_elm是一个链表型结点。

 

typedef struct {
    llist_elm * head;
    llist_elm * tail;
} llist;

 

llist结构体中有两个链表结点。

相关文章:

猜你喜欢
  • 2021-06-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-23
相关资源
相似解决方案