# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../libart_lgpl23/cpp_extern.patch # Copyright (C) 2007 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- T2-COPYRIGHT-NOTE-END --- --- libart_lgpl-2.3.19/art_misc.h_orig 2007-04-26 17:26:51.000000000 +0200 +++ libart_lgpl-2.3.19/art_misc.h 2007-04-26 17:28:44.000000000 +0200 @@ -34,10 +34,16 @@ #include #endif +#ifdef __cplusplus +extern "C" { +#endif void *art_alloc(size_t size); void art_free(void *ptr); void *art_realloc(void *ptr, size_t size); +#ifdef __cplusplus +} +#endif /* __cplusplus */ /* These aren't, strictly speaking, configuration macros, but they're damn handy to have around, and may be worth playing with for debugging. */