diff options
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 52ad50a1213..03bbe666c66 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 */ |