tbox v1.5.1 update!
原文链接 https://waruqi.github.io/2016/02/05/update-v1.5.1/
注:以下为加速网络访问所做的原文缓存,经过重新格式化,可能存在格式方面的问题,或偶有遗漏信息,请以原文为准。
New features
- Add automaticlly check libc interfaces
- Support custom allocator
- Add trace for allocator in the debug mode
- Add
static_pool
module - Add stream interfaces for reading all data to string
- Add adler32 hash algorithm
- Add
tb_memmem
interface - Add regex module with pcre, pcre2 or posix regex
Changes
- Optimize stream and support read/write character device file
- Modify
tb_init
api and support allocator arguments - Improve memory manager and use the allocator mode
- Redefine
assert
and will abort for debug mode
Bugs fixed
- Fix some bugs for android
- Fix seek bug for stream