MD-Bench/common/includes/allocate.h

14 lines
447 B
C
Raw Permalink Normal View History

/*
* Copyright (C) 2022 NHR@FAU, University Erlangen-Nuremberg.
* All rights reserved. This file is part of MD-Bench.
* Use of this source code is governed by a LGPL-3.0
* license that can be found in the LICENSE file.
*/
2020-08-18 14:27:28 +02:00
#include <stdlib.h>
#ifndef __ALLOCATE_H_
#define __ALLOCATE_H_
extern void* allocate (int alignment, size_t bytesize);
2020-08-18 14:27:28 +02:00
extern void* reallocate (void* ptr, int alignment, size_t newBytesize, size_t oldBytesize);
#endif