Skip to content
Snippets Groups Projects
Verified Commit 4efb69d3 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

copy mempattern files from Knot DNS as they are

It seems just easier than having the copies in the current way.
I don't think the `static inline` were helping us anyway,
except for avoiding KR_EXPORT in some cases.

Still, differences when copying:
 - we use plain memset() in the implementation
   (no motivation here to use the complex memzero() approach)
 - we expose mm_malloc(), as we've been referring to it
 - we KR_EXPORT some of the functions (for lua and modules)
parent f4ca45dc
No related branches found
No related tags found
1 merge request!1115refactor memory allocation patterns a little
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment