提交 a5e39fed 编写于 作者: B Behdad Esfahbod

Minor

上级 1827dc20
......@@ -38,6 +38,8 @@ struct _hb_set_t
inline void init (void) {
clear ();
}
inline void fini (void) {
}
inline void clear (void) {
memset (elts, 0, sizeof elts);
}
......
......@@ -67,6 +67,8 @@ hb_set_destroy (hb_set_t *set)
{
if (!hb_object_destroy (set)) return;
set->fini ();
free (set);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册