diff options
author | Andrew Pinski <apinski@apple.com> | 2004-06-25 04:31:51 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2004-06-24 21:31:51 -0700 |
commit | 6f0aa5e195d89a7e494e0362596df853762b4dac (patch) | |
tree | 7cd8603cd5e075e1eb7ba55ac5dd364fac92a309 /libobjc/objc/objc-api.h | |
parent | fff34d356a721134207d6545fc134a412af8f885 (diff) | |
download | gcc-6f0aa5e195d89a7e494e0362596df853762b4dac.zip gcc-6f0aa5e195d89a7e494e0362596df853762b4dac.tar.gz gcc-6f0aa5e195d89a7e494e0362596df853762b4dac.tar.bz2 |
encoding.h: Wrap the functions with extern "C" for C++ mode.
2004-06-24 Andrew Pinski <apinski@apple.com>
* objc/encoding.h: Wrap the functions with extern "C" for C++
mode.
* objc/hash.h: Likewise.
* objc/objc-api.h: Likewise.
* objc/objc-list.h: Likewise.
* objc/runtime.h: Likewise.
* objc/sarray.h: Likewise.
* objc/thr.h: Likewise.
* objc/typedstream.h: Likewise.
From-SVN: r83635
Diffstat (limited to 'libobjc/objc/objc-api.h')
-rw-r--r-- | libobjc/objc/objc-api.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libobjc/objc/objc-api.h b/libobjc/objc/objc-api.h index 52ad50a..03bbe66 100644 --- a/libobjc/objc/objc-api.h +++ b/libobjc/objc/objc-api.h @@ -34,6 +34,11 @@ Boston, MA 02111-1307, USA. */ #include <stdio.h> #include <stdarg.h> +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + + /* For functions which return Method_t */ #define METHOD_NULL (Method_t)0 /* Boolean typedefs */ @@ -606,6 +611,11 @@ object_is_meta_class (id object) struct sarray* objc_get_uninstalled_dtable(void); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + + #endif /* not __objc_api_INCLUDE_GNU */ |