#ifdef __cplusplus #define NULL __null #else #define NULL ((void *)0) #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef __cplusplus #include #include #endif #ifdef __cplusplus #define new ("if you use new/delete make sure to include config.h at the top of the file"()) #define delete ("if you use new/delete make sure to include config.h at the top of the file"()) #endif /* Work around bug with C++ library that screws up Objective-C++ when exception support is disabled. */ #undef try #undef catch