tbox v1.5.1 update!

2016-02-05 ruki 更多博文 » 博客 » GitHub »

tbox version 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


  • 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