diff options
Diffstat (limited to 'backends/platform/iphone/iphone_common.h')
-rw-r--r-- | backends/platform/iphone/iphone_common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/platform/iphone/iphone_common.h b/backends/platform/iphone/iphone_common.h index 90d9a50aad..9f7e3e808f 100644 --- a/backends/platform/iphone/iphone_common.h +++ b/backends/platform/iphone/iphone_common.h @@ -52,13 +52,19 @@ typedef enum kUIViewSwipeRight = 8 } UIViewSwipeDirection; +#ifdef IPHONE_OFFICIAL +void iphone_main(int argc, char **argv); +#endif + // We need this to be able to call functions from/in Objective-C. #ifdef __cplusplus extern "C" { #endif // On the C++ side +#ifndef IPHONE_OFFICIAL void iphone_main(int argc, char *argv[]); +#endif // On the ObjC side void iPhone_updateScreen(); |