summaryrefslogtreecommitdiffstats
path: root/reftable/reftable-basics.h
blob: 6e8e636b7166fd5fa13081e148be3219fa3b64f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Copyright 2020 Google LLC
 *
 * Use of this source code is governed by a BSD-style
 * license that can be found in the LICENSE file or at
 * https://developers.google.com/open-source/licenses/bsd
*/

#ifndef REFTABLE_BASICS_H
#define REFTABLE_BASICS_H

#include <stddef.h>

/* Overrides the functions to use for memory management. */
void reftable_set_alloc(void *(*malloc)(size_t),
			void *(*realloc)(void *, size_t), void (*free)(void *));

#endif