X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/9d512587dc4e4ff598d4663ca1e43996a8cfd9e9..36bf49c45816e455b9555f80ab1713c5c0d54594:/JavaScript.hpp?ds=sidebyside diff --git a/JavaScript.hpp b/JavaScript.hpp index 944c89e..1ede364 100644 --- a/JavaScript.hpp +++ b/JavaScript.hpp @@ -56,7 +56,7 @@ JSGlobalContextRef CYGetJSContext(); JSObjectRef CYGetGlobalObject(JSContextRef context); extern "C" void CYSetupContext(JSGlobalContextRef context); -const char *CYExecute(CYPool &pool, CYUTF8String code); +const char *CYExecute(JSContextRef context, CYPool &pool, CYUTF8String code); void CYSetArgs(int argc, const char *argv[]);