OSDN Git Service

gcc/
[pf3gnuchains/gcc-fork.git] / gcc / doc / objc.texi
index 93b5ec5..5d75038 100644 (file)
@@ -1,5 +1,6 @@
 @c Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
-@c 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+@c 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2010
+@c Free Software Foundation, Inc.
 @c This is part of the GCC manual.
 @c For copying conditions, see the file gcc.texi.
 
@@ -557,7 +558,7 @@ functions are part of the public ``API'' and are the preferred way to
 interact with method signatures from user code.
 
 But if you need to debug a problem with method signatures and need to
-know how they are implemented (ie, the ``ABI''), read on.
+know how they are implemented (i.e., the ``ABI''), read on.
 
 Methods have their ``signature'' encoded and made available to the
 runtime.  The ``signature'' encodes all the information required to
@@ -1030,13 +1031,13 @@ enumeration, you need to have it implement the method
 @smallexample
 - (unsigned long) countByEnumeratingWithState: (NSFastEnumerationState *)state 
                                       objects: (id *)objects
-                                        count: (unsigneld long)len;
+                                        count: (unsigned long)len;
 @end smallexample
 
 where @code{NSFastEnumerationState} must be defined in your code as follows:
 
 @smallexample
-typdef struct
+typedef struct
 @{
   unsigned long state;
   id            *itemsPtr;