Test __PRETTY_FUNCTION__ in methods, too.

This commit is contained in:
Bill Currie 2011-01-13 16:34:25 +09:00
parent c4d19e6ebc
commit c0b8d0febe
1 changed files with 2 additions and 1 deletions

View File

@ -34,7 +34,8 @@
-run
{
print ("Hello world\n");
printf ("%i %p\n", self, &self.x);
printf ("%i %p [%s %s]\n", self, &self.x, [self description],
__PRETTY_FUNCTION__);
}
@end