naspro
view permafrost/src/util.h @ 178:7169a8909d53
Added Permafrost + small changes
| author | Stefano D'Angelo <zanga.mail@gmail.com> |
|---|---|
| date | Sun May 02 14:19:58 2010 +0300 (2010-05-02) |
| parents | |
| children |
line source
1 /*
2 * Permafrost - Physical modelling framework
3 *
4 * Copyright (C) 2009, 2010 Stefano D'Angelo <zanga.mail@gmail.com>
5 *
6 * See the COPYING file for license conditions.
7 */
9 #ifndef _UTIL_H_
10 #define _UTIL_H_
12 #include <stddef.h>
13 #include <stdio.h>
15 char *
16 copy_str(const char *s);
18 char *
19 copy_str_no_q(const char *s);
21 void *
22 xmalloc(size_t size);
24 void *
25 xrealloc(void *ptr, size_t size);
27 #endif /* !_UTIL_H_ */
