]> git.saurik.com Git - cycript.git/blobdiff - Execute.cpp
Make CYExecute take a CYUTF8String and fix the size shell game in Console's Run.
[cycript.git] / Execute.cpp
index 6197bc9dfb08d98a1e3f08402194c2da928de441..e8ea4ae006674d8f348818c6805ee4431df3212c 100644 (file)
@@ -1199,7 +1199,7 @@ JSObjectRef CYGetGlobalObject(JSContextRef context) {
     return JSContextGetGlobalObject(context);
 }
 
-const char *CYExecute(apr_pool_t *pool, const char *code) {
+const char *CYExecute(apr_pool_t *pool, CYUTF8String code) {
     JSContextRef context(CYGetJSContext());
     JSValueRef exception(NULL), result;