]> git.saurik.com Git - cycript.git/blobdiff - JavaScript.hpp
Fix build of cycript using clang++-3.7, from Fink.
[cycript.git] / JavaScript.hpp
index e4af17bf8074ad09f2a2acfe7cb9bdf81a0e8935..6ee7d9df06e0a95ea00604d58ff0c4fc2bc20958 100644 (file)
@@ -1,5 +1,5 @@
 /* Cycript - Optimizing JavaScript Compiler/Runtime
- * Copyright (C) 2009-2014  Jay Freeman (saurik)
+ * Copyright (C) 2009-2015  Jay Freeman (saurik)
 */
 
 /* GNU Affero General Public License, Version 3 {{{ */
@@ -131,6 +131,8 @@ struct CYHook {
 
     bool (*PoolFFI)(CYPool *, JSContextRef, sig::Type *, ffi_type *, void *, JSValueRef);
     JSValueRef (*FromFFI)(JSContextRef, sig::Type *, ffi_type *, void *, bool, JSObjectRef);
+
+    void *(*CastSymbol)(const char *);
 };
 
 struct CYRegisterHook {