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
Showing
- contrib/mempattern.c 121 additions, 0 deletionscontrib/mempattern.c
- contrib/mempattern.h 55 additions, 0 deletionscontrib/mempattern.h
- contrib/meson.build 1 addition, 0 deletionscontrib/meson.build
- lib/utils.c 0 additions, 24 deletionslib/utils.c
- lib/utils.h 3 additions, 30 deletionslib/utils.h
Loading
Please register or sign in to comment