auxzlib.h /size: 703 b    last modification: 2024-01-16 10:22
1/*
2    See license.txt in the root of this project.
3*/
4
5/*tex
6
7    This module deals with the memory allocation that plugs in the zipper. Although we could just
8    use the defaule malloc, it's nicer to use the replacement, when it is enabled. A previous
9    version had th eoption to choose between zlib and miniz but in 2021 we switched to the later
10    so the former is now in the attic.
11
12*/
13
14# ifndef LMT_UTILITIES_ZLIB_H
15# define LMT_UTILITIES_ZLIB_H
16
17# include "../libraries/miniz/miniz.h"
18
19/*tex These plug in the lua library as well as pplib's flate hander. */
20
21extern void *lmt_zlib_alloc (void *opaque, size_t items, size_t size);
22extern void  lmt_zlib_free  (void *opaque, void *p);
23
24# endif
25