Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
mem.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2021 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
10#ifndef __UTILS_MEM_H__
11#define __UTILS_MEM_H__
12
13#include <cstddef>
14
18void *
19realloc_zero (void * pBuffer, size_t oldSize, size_t newSize);
20
21#endif
void * realloc_zero(void *pBuffer, size_t oldSize, size_t newSize)
Reallocate and zero out newly added memory.