Debian Codegraph @

common/memory_proc.h

raw symbols SCIP
1 /* Copyright 2000 Kjetil S. Matheussen
2
3 This program is free software; you can redistribute it and/or
4 modify it under the terms of the GNU General Public License
5 as published by the Free Software Foundation; either version 2
6 of the License, or (at your option) any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12
13 You should have received a copy of the GNU General Public License
14 along with this program; if not, write to the Free Software
15 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
16
17
18 #include <stdlib.h>
19
20 #ifndef TRACKER_INCLUDE
21
22 extern void init_memory(void);
23
24 extern void tfree(void *element);
25
26 extern LANGSPEC void *tracker_alloc_clean(size_t size,void *(*AllocFunction)(size_t size2));
27
28 extern LANGSPEC void *tracker_alloc(size_t size,void *(*AllocFunction)(size_t size2));
29
30 extern LANGSPEC void *tralloc(size_t size);
31
32 extern LANGSPEC void *tralloc_atomic(size_t size);
33
34 extern LANGSPEC void *talloc(size_t size);
35
36 extern LANGSPEC void *talloc_atomic(size_t size);
37
38 extern LANGSPEC void *talloc_atomic_uncollectable(size_t size);
39
40 extern LANGSPEC void *talloc_realloc(void *v, size_t new_size);
41
42 extern LANGSPEC char *talloc_strdup(const char *input);
43
44 extern LANGSPEC char *talloc_numberstring(int number);
45
46 extern LANGSPEC char *talloc_floatstring(float number);
47 #endif
48