diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-10-17 01:08:50 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-10-17 01:08:50 +0800 |
commit | f2650f5fce0362df7e48c10830e5258c9778502a (patch) | |
tree | 436d5e8909ab6427575b3314673c8b11c255e6c2 /include/proto.h | |
parent | 7daae7397382c30de7a7851ffa1ded14969b1f76 (diff) | |
download | pttbbs-f2650f5fce0362df7e48c10830e5258c9778502a.tar pttbbs-f2650f5fce0362df7e48c10830e5258c9778502a.tar.gz pttbbs-f2650f5fce0362df7e48c10830e5258c9778502a.tar.bz2 pttbbs-f2650f5fce0362df7e48c10830e5258c9778502a.tar.lz pttbbs-f2650f5fce0362df7e48c10830e5258c9778502a.tar.xz pttbbs-f2650f5fce0362df7e48c10830e5258c9778502a.tar.zst pttbbs-f2650f5fce0362df7e48c10830e5258c9778502a.zip |
* save memory, NameList is more like STL's vector now
* fix corner case of fav bug
* code revise
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3585 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/proto.h')
-rw-r--r-- | include/proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/proto.h b/include/proto.h index 0c990e82..8dc9e27f 100644 --- a/include/proto.h +++ b/include/proto.h @@ -417,6 +417,7 @@ typedef char* (*gnc_getname_func)(int); extern void NameList_init(struct NameList *self); extern void NameList_delete(struct NameList *self); extern void NameList_clear(struct NameList *self); +extern void NameList_resizefor(struct NameList *self, int size); extern void NameList_add(struct NameList *self, const char *name); extern void namecomplete2(struct NameList *namelist, const char *prompt, char *data); |