⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 queue.h

📁 一个通用单向循环链表管理程序
💻 H
字号:
//////////////////////////////////////////////////////////////
// queue.h
//     reference of queue functions
#pragma once
#ifdef __cplusplus
extern "C" {
#endif

void add_node_to(void **head, void **tail, void *node, void *to, int before_or_after);
void move_node(void **head, void **tail, void *moved, void *to, int before_or_after);
void add_node(void **head, void **tail, void *node);
void del_node(void **head, void **tail, void *node);
typedef int (*CMP_FUNC)(void *t1, void *t2);
void sort_list(void **head, void **tail, CMP_FUNC nodcmp);
void add_node_sorted(void **head, void **tail, void *node, CMP_FUNC nodcmp);

#ifdef __cplusplus
};
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -