]> git.pld-linux.org Git - packages/libart_lgpl.git/blob - libart_lgpl-c_bindings.patch
- kdelibs complains about undefined references to art_{realloc,alloc,free}
[packages/libart_lgpl.git] / libart_lgpl-c_bindings.patch
1 --- libart_lgpl-2.3.19/art_misc.h.orig  2007-03-31 00:14:21.000000000 +0000
2 +++ libart_lgpl-2.3.19/art_misc.h       2007-03-31 00:16:41.000000000 +0000
3 @@ -34,6 +34,10 @@
4  #include <libart_lgpl/art_config.h>
5  #endif
6  
7 +#ifdef __cplusplus
8 +extern "C" {
9 +#endif /* __cplusplus */
10 +
11  void *art_alloc(size_t size);
12  void art_free(void *ptr);
13  void *art_realloc(void *ptr, size_t size);
14 @@ -74,10 +78,6 @@
15  #define ART_GNUC_NORETURN
16  #endif  /* !__GNUC__ */
17  
18 -#ifdef __cplusplus
19 -extern "C" {
20 -#endif
21 -
22  void ART_GNUC_NORETURN
23  art_die (const char *fmt, ...) ART_GNUC_PRINTF (1, 2);
24  
This page took 0.108647 seconds and 3 git commands to generate.