aboutsummaryrefslogtreecommitdiff
path: root/libobjc/objc/runtime.h
diff options
context:
space:
mode:
authorNicola Pero <nicola.pero@meta-innovation.com>2010-10-12 00:27:02 +0000
committerNicola Pero <nicola@gcc.gnu.org>2010-10-12 00:27:02 +0000
commit524660d2e3e96ac715623c052338c25a14938dfa (patch)
tree8c826840b836b21623b2673ebb37f3ee7aff55ab /libobjc/objc/runtime.h
parent4d218f5c7208f133fd302e0e0628d5d03401c4d1 (diff)
downloadgcc-524660d2e3e96ac715623c052338c25a14938dfa.zip
gcc-524660d2e3e96ac715623c052338c25a14938dfa.tar.gz
gcc-524660d2e3e96ac715623c052338c25a14938dfa.tar.bz2
In libobjc/: 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/: 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com> * selector.c (sel_getName): Return "<null selector>" for a NULL argument. (sel_get_name): Return 0 for a NULL argument. * objc/runtime.h (sel_getName): Updated documentation. * objc-private/hash.h (class_hash_table): Unused declaration removed. (module_hash_table): Same. * objc/deprecated/hash.h: Same changes. From-SVN: r165348
Diffstat (limited to 'libobjc/objc/runtime.h')
-rw-r--r--libobjc/objc/runtime.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libobjc/objc/runtime.h b/libobjc/objc/runtime.h
index b15c522..f3a19ec 100644
--- a/libobjc/objc/runtime.h
+++ b/libobjc/objc/runtime.h
@@ -168,7 +168,8 @@ object_getClass (id object)
/** Implementation: the following functions are in selector.c. */
-/* Return the name of a given selector. */
+/* Return the name of a given selector. If 'selector' is NULL, return
+ "<null selector>". */
objc_EXPORT const char *sel_getName (SEL selector);
/* Return the type of a given selector.