Modified: MacRuby/trunk/bridgesupport.cpp (3068 => 3069)
--- MacRuby/trunk/bridgesupport.cpp 2009-12-01 03:25:59 UTC (rev 3068)
+++ MacRuby/trunk/bridgesupport.cpp 2009-12-01 06:23:07 UTC (rev 3069)
@@ -1003,7 +1003,12 @@
const char *p = bs_inf_prot_method->type;
do {
const char *p2 = (char *)SkipFirstType(p);
- const size_t len = p2 - p;
+ size_t len = p2 - p;
+ if (*p == _C_PTR && len > 1) {
+ strlcat(type, "^", typelen);
+ p++;
+ len--;
+ }
if (len == 1 && *p == _C_FLT) {
// float -> double
strlcat(type, "d", typelen);