Logo
Explore Help
Register Sign In
public/libndbuf
1
0
Fork 0
You've already forked libndbuf
Code Issues Pull Requests Packages Projects Releases Wiki Activity
44f7aba37b
BranchesTags
View all branches
libndbuf/ChangeLog

11 lines
311 B
Plaintext
Raw Normal View History

Added possibility to use user defined memory ops: Now u can create a special ndbuf with your custom memory operations, this is useful to keep ndbuf in a special mapped areas for a: - keep it secure (example lock pages to avoid your info going to swap) - using your own custom optimized allocator for your own block sizes Function: ndbuf_t *ndbuf_new_wmops(const struct ndbuf_memops *, const size_t); Args: 1. Pointer to yout ops: struct ndbuf_memops { void *(*alloc)(size_t); uint32_t (*zero)(void *, size_t); void (*free)(void *ptr); }; 2. Size of chunk to grow buffer. if <= default value will be set.
2018-08-05 03:19:36 +03:00
0.0.2 (15-nov-2018)
* Added possibility to use user defined memory ops with:
ndbuf_t *ndbuf_new_wmops(const struct ndbuf_memops *, const size_t);
* Fixed bug with pkgconfig %VERSION% value
Initial one: moving useful code to separate tiny lib;
2017-11-24 23:54:42 +02:00
0.0.1 (24-nov-2017)
* initial version with all functions done
* tired from reuse this code and ... now it's lib
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.4 Page: 192ms Template: 7ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API