This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
libobjc: updated some comments
- From: "Nicola Pero" <nicola dot pero at meta-innovation dot com>
- To: "GCC Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 8 Jun 2011 04:53:47 +0200 (CEST)
- Subject: libobjc: updated some comments
Committed to trunk.
Thanks
Index: objc-private/selector.h
===================================================================
--- objc-private/selector.h (revision 174789)
+++ objc-private/selector.h (working copy)
@@ -28,16 +28,15 @@ see the files COPYING3 and COPYING.RUNTIME respect
/* Private runtime functions that may go away or be rewritten or
replaced. */
-/*
-** Definition of a selector. Selectors themselves are not unique, but
-** the sel_id is a unique identifier.
-*/
+/* Definition of a selector. Selectors themselves are not unique, but
+ the sel_id is a unique identifier. */
struct objc_selector
{
void *sel_id;
const char *sel_types;
};
+/* An inline, fast version of sel_isEqual(). */
inline static BOOL
sel_eq (SEL s1, SEL s2)
{
Index: ChangeLog
===================================================================
--- ChangeLog (revision 174789)
+++ ChangeLog (working copy)
@@ -1,3 +1,8 @@
+2011-06-08 Nicola Pero <nicola.pero@meta-innovation.com>
+
+ * objc/README: Updated.
+ * objc-private/selector.h: Updated comments.
+
2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
* sendmsg.c (class_get_instance_method): Removed.
Index: objc/README
===================================================================
--- objc/README (revision 174789)
+++ objc/README (working copy)
@@ -1,13 +1,2 @@
This directory contains the public headers that are installed when
libobjc is installed.
-
-Deprecated parts of the API should be moved into objc/deprecated and
-then included by public headers until they are finally removed. For
-example, if objc-api.h contains an _objc_unexpected_exception variable
-which is then deprecated, it should be moved into a header in
-objc/deprecated. This header is then included into objc-api.h.
-
-The result is that all the deprecated parts of the API are clearly
-separated in objc/deprecated, while objc/ retains only the current public
-API.
-