table.h.svn-base
来自「纯C数据结构」· SVN-BASE 代码 · 共 21 行
SVN-BASE
21 行
#ifndef TABLE_INCLUDED#define TABLE_INCLUDED#define T Table_Ttypedef struct T *T;extern T Table_new (int hint, int cmp(const void *x, const void *y), unsigned hash(const void *key));extern void Table_free(T *table);extern int Table_length(T table);extern void *Table_put (T table, const void *key, void *value);extern void *Table_get (T table, const void *key);extern void *Table_remove(T table, const void *key);extern void Table_map (T table, void apply(const void *key, void **value, void *cl), void *cl);extern void **Table_toArray(T table, void *end);#undef T#endif/* $RCSfile: RCS/table.doc,v $ $Revision: 1.8 $ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?