]> git.saurik.com Git - cycript.git/blobdiff - Execute.cpp
Add typedef-expressions syntax to replace @encode.
[cycript.git] / Execute.cpp
index c71bc9f92044bfd2322fded09726238dd2fc8116..bb337ba79a62728221794fd128f157563bcd7739 100644 (file)
@@ -1484,7 +1484,7 @@ static JSValueRef Type_callAsFunction_toCYON(JSContextRef context, JSObjectRef o
     std::stringbuf out;
     CYOptions options;
     CYOutput output(out, options);
-    (new(pool) CYEncodedType(Decode(pool, internal->type_)))->Output(output, CYNoFlags);
+    (new(pool) CYTypeExpression(Decode(pool, internal->type_)))->Output(output, CYNoFlags);
     return CYCastJSValue(context, CYJSString(out.str().c_str()));
 } CYCatch(NULL) }