2 * Copyright 2020 Google LLC
4 * Use of this source code is governed by a BSD-style
5 * license that can be found in the LICENSE file or at
6 * https://developers.google.com/open-source/licenses/bsd
9 #ifndef REFTABLE_BASICS_H
10 #define REFTABLE_BASICS_H
14 /* Overrides the functions to use for memory management. */
15 void reftable_set_alloc(void *(*malloc
)(size_t),
16 void *(*realloc
)(void *, size_t), void (*free
)(void *));