summaryrefslogtreecommitdiff
path: root/source/luametatex/source/utilities/auxzlib.c
blob: 7444b5944b61990f62a05d4b45cac7b17419d589 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
    See license.txt in the root of this project.
*/

# include "auxzlib.h"
# include "auxmemory.h"

void *lmt_zlib_alloc(void *opaque, size_t items, size_t size)
{
    (void) opaque;
    return lmt_memory_malloc((size_t) items * size);
}

void  lmt_zlib_free(void *opaque, void *p)
{
    (void) opaque;
    lmt_memory_free(p);
}