UYS
0.1
Useful Yet Simple (C libraries collection)
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Typedefs
Macros
Pages
uys_alloc.h
1
#ifndef UYS_ALLOC_H
2
#define UYS_ALLOC_H
3
4
#include <stdint.h>
5
#include <stdlib.h>
6
7
#if UYS_TEST_MALLOC==1
8
#define uys_malloc uys_malloc_test_fn
9
#else
10
#define uys_malloc malloc
11
#endif // #if UYS_TEST_MALLOC==1
12
13
14
15
16
void
* uys_malloc_test_fn(
size_t
size);
17
18
void
uys_set_malloc_to_fail(
int
status);
19
20
21
#endif // #ifndef UYS_ALLOC_H
include
uys_alloc.h
Generated on Fri Nov 24 2017 11:41:02 for UYS by
1.8.6