]> git.saurik.com Git - cycript.git/blobdiff - JavaScript.hpp
Avoid crashing when we have no "current terminal".
[cycript.git] / JavaScript.hpp
index c75fd7c8cc1a0ede2161ab7a1b4ba0b0127d55db..04c1e2f3260107b2b93ed30e7a43bdf782b34abe 100644 (file)
@@ -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 {{{ */
@@ -63,7 +63,10 @@ JSObjectRef CYGetGlobalObject(JSContextRef context);
 
 extern "C" void CYSetupContext(JSGlobalContextRef context);
 const char *CYExecute(JSContextRef context, CYPool &pool, CYUTF8String code);
+
+#ifndef __ANDROID__
 void CYCancel();
+#endif
 
 void CYSetArgs(int argc, const char *argv[]);