X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/73f04979fb72cb54812165867349917f0f207492..2ada05412ca83fce9be76b0f06602d9f79376128:/JavaScript.hpp diff --git a/JavaScript.hpp b/JavaScript.hpp index e4af17b..6ee7d9d 100644 --- a/JavaScript.hpp +++ b/JavaScript.hpp @@ -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 {