ascii-chat
0.6.0
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
debug/memory.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: MIT
47
#pragma once
48
49
#if defined(DEBUG_MEMORY)
50
51
#include <
stdbool.h
>
52
#include <stddef.h>
53
54
#ifdef __cplusplus
55
extern
"C"
{
56
#endif
57
69
void
debug_memory_set_quiet_mode(
bool
quiet);
70
105
void
debug_memory_report(
void
);
106
123
void
*debug_malloc(
size_t
size,
const
char
*file,
int
line);
124
141
void
*debug_calloc(
size_t
count,
size_t
size,
const
char
*file,
int
line);
142
169
void
*debug_realloc(
void
*ptr,
size_t
size,
const
char
*file,
int
line);
170
191
void
debug_free(
void
*ptr,
const
char
*file,
int
line);
192
219
void
debug_track_aligned(
void
*ptr,
size_t
size,
const
char
*file,
int
line);
220
223
#ifdef __cplusplus
224
}
// extern "C"
225
#endif
226
227
#endif
/* DEBUG_MEMORY */
stdbool.h
lib
debug
memory.h
Generated by
1.9.8