mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
![Han-Wen Nienhuys](/assets/img/avatar_default.png)
This commit provides basic utility classes for the reftable library. Signed-off-by: Han-Wen Nienhuys <hanwen@google.com> Helped-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
19 lines
429 B
C
19 lines
429 B
C
/*
|
|
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_H
|
|
#define REFTABLE_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
|