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

📄 collectn.h

📁 nasm的全套源代码,有些我做了些修改,以方便您更方便更容易调试成功,方便学习做编译器
💻 H
字号:
/*
 * collectn.h - header file for 'collection' abstract data type.
 *
 * This file is public domain, and does not come under the NASM license.
 * It, along with 'collectn.c' implements what is basically a variable
 * length array (of pointers).
 */

#ifndef _COLLECTN_H
#define _COLLECTN_H

typedef struct tagCollection {
    void *p[32];                /* array of pointers to objects */

    struct tagCollection *next;
} Collection;

void collection_init(Collection * c);
void **colln(Collection * c, int index);
void collection_reset(Collection * c);

#endif

⌨️ 快捷键说明

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