mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Implement partial support for declarations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31907 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
984fb84dd7
commit
7e79628495
3 changed files with 232 additions and 16 deletions
|
@ -1847,7 +1847,9 @@ NSDictionary *locale)
|
|||
|
||||
obj = args_value[specs[nspecs_done].data_arg].pa_object;
|
||||
|
||||
if (!obj) dsc = @"(nil)";
|
||||
/* On OSX a nil object is reported as '(null)' so we do the same.
|
||||
*/
|
||||
if (!obj) dsc = @"(null)";
|
||||
else if ([obj respondsToSelector: @selector(descriptionWithLocale:)]) dsc = [obj descriptionWithLocale: locale];
|
||||
else dsc = [obj description];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue