X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/2e43a0b0c288f70981ab2715c8135ac7b9cd0f1b..7613908db708653c43cc3c2ca3defbfeb6b4fc6a:/Analysis.cpp diff --git a/Analysis.cpp b/Analysis.cpp index e76f862..520de54 100644 --- a/Analysis.cpp +++ b/Analysis.cpp @@ -1,5 +1,5 @@ -/* Cycript - Optimizing JavaScript Compiler/Runtime - * Copyright (C) 2009-2015 Jay Freeman (saurik) +/* Cycript - The Truly Universal Scripting Language + * Copyright (C) 2009-2016 Jay Freeman (saurik) */ /* GNU Affero General Public License, Version 3 {{{ */ @@ -21,14 +21,42 @@ #define __USE_EXTERN_INLINES +#include #include +#include +#include +#include +#include +#include #include +#include +#include #include #include -#ifdef __OBJC__ +#if CY_JAVA +#ifdef __APPLE__ +#include +#else +#include +#endif +#endif + +#if CY_RUBY +#ifdef __APPLE__ +#include +#else +#include +#endif +#endif + +#if CY_PYTHON +#include +#endif + +#if CY_OBJECTIVEC #include #endif @@ -38,8 +66,16 @@ #include #include +#include +#include +#include + +#include +#include + #if TARGET_OS_IPHONE #include +extern "C" UIApplication *UIApp; #else #include #endif