Annotation of /trunk/libart_lgpl/patches/libart_lgpl-2.3.19-header.patch
Parent Directory | Revision Log
Revision 144 -
(hide annotations)
(download)
Tue May 8 20:06:05 2007 UTC (17 years, 4 months ago) by niro
File size: 556 byte(s)
Tue May 8 20:06:05 2007 UTC (17 years, 4 months ago) by niro
File size: 556 byte(s)
-import
1 | niro | 144 | --- libart_lgpl-2.3.19/art_misc.h.extern-c 2007-01-02 00:59:22.000000000 +0100 |
2 | +++ libart_lgpl-2.3.19/art_misc.h 2007-03-01 09:19:06.000000000 +0100 | ||
3 | @@ -34,9 +34,15 @@ | ||
4 | #include <libart_lgpl/art_config.h> | ||
5 | #endif | ||
6 | |||
7 | +#ifdef __cplusplus | ||
8 | +extern "C" { | ||
9 | +#endif | ||
10 | void *art_alloc(size_t size); | ||
11 | void art_free(void *ptr); | ||
12 | void *art_realloc(void *ptr, size_t size); | ||
13 | +#ifdef __cplusplus | ||
14 | +} | ||
15 | +#endif /* __cplusplus */ | ||
16 | |||
17 | /* These aren't, strictly speaking, configuration macros, but they're | ||
18 | damn handy to have around, and may be worth playing with for |