[Adium-devl] [Adium-svn] rev 23724 - trunk/Plugins/Facebook Service
Peter Hosey
prh at boredzo.org
Thu May 29 14:57:18 UTC 2008
On May 29, 2008, at 07:33:13, Evan Schoenberg wrote:
> Does a constant string have a type like '[id]'?
I don't know. I would think that it's NSConstantString *. I tried to
check using the preprocessor's # operator and GCC's __typeof__
operator, but got only my __typeof__ expression back.
#define STR(x) #x
NSLog(@"Type of @\"%@\": %s", @"foo", STR(__typeof__(@"foo")));
2008-05-29 07:55:51.554 typeof-constantstring[2547:10b] Type of
@"foo": __typeof__(@"foo")
C never has been known for its introspection capabilities. ☹
More information about the devel
mailing list