Date: Tue, 30 Oct 2007 17:59:44 +0200 From: Borodin Oleg <ziggi@yandex.ru> To: gnome@FreeBSD.org, Raph Levien <raph@acm.org> Subject: Path for more accurate use libart2 with c++ applications Message-ID: <472754F0.8050109@yandex.ru>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------040705050403010204070006 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Good afternood, dear collegues! Subj. Else - compilation break, "undefined reference art_malloc/art_free" (sample - libkdecore from kdelibs-3.5.*) Borodin Oleg Rusiia, Kaliningrad ziggi@inbox.ru --------------040705050403010204070006 Content-Type: text/plain; name="patch-x-art_misc.h" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-x-art_misc.h" --- ./art_misc.h.orig Tue Jan 2 01:59:22 2007 +++ ./art_misc.h Tue Oct 30 15:57:54 2007 @@ -34,9 +34,6 @@ #include <libart_lgpl/art_config.h> #endif -void *art_alloc(size_t size); -void art_free(void *ptr); -void *art_realloc(void *ptr, size_t size); /* These aren't, strictly speaking, configuration macros, but they're damn handy to have around, and may be worth playing with for @@ -86,6 +83,11 @@ void art_dprint (const char *fmt, ...) ART_GNUC_PRINTF (1, 2); + +void *art_alloc(size_t size); +void art_free(void *ptr); +void *art_realloc(void *ptr, size_t size); + #ifdef __cplusplus } --------------040705050403010204070006--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?472754F0.8050109>