X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/8d20f0f1540c4c116f52e333edc57a4f549927e8..3e3acd8b6cb59a34b7819f6887e5386f6b8a30c6:/Analysis.cpp diff --git a/Analysis.cpp b/Analysis.cpp index a5b1822..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 {{{ */ @@ -19,13 +19,44 @@ **/ /* }}} */ +#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 @@ -35,8 +66,16 @@ #include #include +#include +#include +#include + +#include +#include + #if TARGET_OS_IPHONE #include +extern "C" UIApplication *UIApp; #else #include #endif