git/reftable/publicbasics.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
*/

#include "system.h"
#include "reftable-malloc.h"

#include "basics.h"

static void *(*reftable_malloc_ptr)(size_t sz);
static void *(*reftable_realloc_ptr)(void *, size_t);
static void (*reftable_free_ptr)(void *);

void *reftable_malloc(size_t sz)
{}

void *reftable_realloc(void *p, size_t sz)
{}

void reftable_free(void *p)
{}

void *reftable_calloc(size_t nelem, size_t elsize)
{}

void reftable_set_alloc(void *(*malloc)(size_t),
			void *(*realloc)(void *, size_t), void (*free)(void *))
{}

int hash_size(uint32_t id)
{}