Zrythm
v2.0.0-DEV
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, 2024 Alexandros Theodotou <alex@zrythm.org>
2
// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
9
10
#ifndef __UTILS_MEM_H__
11
#define __UTILS_MEM_H__
12
13
#include <cstddef>
14
15
void
*
16
z_realloc (
void
* ptr,
size_t
size);
17
18
void
19
z_free_strv (
char
** strv);
20
24
void
*
25
realloc_zero
(
void
* pBuffer,
size_t
oldSize,
size_t
newSize);
26
27
#endif
realloc_zero
void * realloc_zero(void *pBuffer, size_t oldSize, size_t newSize)
Reallocate and zero out newly added memory.
src
utils
mem.h
Generated by
1.15.0