Alexandre Julliard | 4f8c37b | 1996-01-14 18:12:01 +0000 | [diff] [blame] | 1 | #ifndef __WINE_XMALLOC_H |
| 2 | #define __WINE_XMALLOC_H |
| 3 | |
Uwe Bonnes | 79f1638 | 1998-11-30 10:36:51 +0000 | [diff] [blame] | 4 | #ifdef __cplusplus |
| 5 | extern "C" { |
| 6 | #endif |
| 7 | |
Patrik Stridvall | 2c68408 | 1999-07-31 17:36:48 +0000 | [diff] [blame] | 8 | void *xmalloc( size_t size ); |
| 9 | void *xcalloc( size_t size ); |
| 10 | void *xrealloc( void *ptr, size_t size ); |
Alexandre Julliard | 02ed4c2 | 1996-03-02 19:34:10 +0000 | [diff] [blame] | 11 | char *xstrdup( const char *str ); |
Alexandre Julliard | 4f8c37b | 1996-01-14 18:12:01 +0000 | [diff] [blame] | 12 | |
Uwe Bonnes | 79f1638 | 1998-11-30 10:36:51 +0000 | [diff] [blame] | 13 | #ifdef __cplusplus |
| 14 | } |
| 15 | #endif |
| 16 | |
Alexandre Julliard | 4f8c37b | 1996-01-14 18:12:01 +0000 | [diff] [blame] | 17 | #endif /* __WINE_XMALLOC_H */ |