Patchwork libobjc: updated some comments

login
register
mail settings
Submitter Nicola Pero
Date June 8, 2011, 2:53 a.m.
Message ID <1307501627.341215189@www2.webmail.us>
Download mbox | patch
Permalink /patch/99357/
State New
Headers show

Comments

Nicola Pero - June 8, 2011, 2:53 a.m.
Committed to trunk.

Thanks

Patch

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.
-