From 74988263ec918ea92b5593bb6c9d7cde57c661f2 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 11 Sep 2012 22:59:44 -0700 Subject: [PATCH] Add some occasionally-missing @'s lost to type cast. --- ObjectiveC/Library.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ObjectiveC/Library.mm b/ObjectiveC/Library.mm index 07015c0..209f4e1 100644 --- a/ObjectiveC/Library.mm +++ b/ObjectiveC/Library.mm @@ -422,7 +422,7 @@ NSString *CYCastNSCYON(id value, bool objective) { SEL sel(@selector(cy$toCYON:)); if (objc_method *toCYON = class_getInstanceMethod(_class, sel)) - string = reinterpret_cast(method_getImplementation(toCYON))(value, sel); + string = reinterpret_cast(method_getImplementation(toCYON))(value, sel, objective); else if (objc_method *methodSignatureForSelector = class_getInstanceMethod(_class, @selector(methodSignatureForSelector:))) { if (reinterpret_cast(method_getImplementation(methodSignatureForSelector))(value, @selector(methodSignatureForSelector:), sel) != nil) string = [value cy$toCYON:objective]; -- 2.45.2