+2013-07-21 OndÅ\99ej BÃlka <neleai@seznam.cz>
+
+ * class.c: Fix typos.
+ * encoding.c: Likewise.
+ * init.c: Likewise.
+ * objc-private/runtime.h: Likewise.
+ * objc/runtime.h: Likewise.
+ * objc-sync.c: Likewise.
+
2013-07-04 Kai Tietz <ktietz@redhat.com>
* exception.c: Add check for SjLj to SEH blocks.
}
/* This is not used by GCC, but the clang compiler seems to use it
- when targetting the GNU runtime. That's wrong, but we have it to
+ when targeting the GNU runtime. That's wrong, but we have it to
be compatible. */
Class
objc_lookup_class (const char *name)
These functions are used by objc_sizeof_type and objc_alignof_type
functions to compute the size and alignment of structures. The
previous method of computing the size and alignment of a structure
- was not working on some architectures, particulary on AIX, and in
+ was not working on some architectures, particularly on AIX, and in
the presence of bitfields inside the structure. */
void
objc_layout_structure (const char *type,
}
/* If the list was finished but the class hasn't been inserted, we
- don't have an existing class hierarchy that can accomodate it.
+ don't have an existing class hierarchy that can accommodate it.
Create a new one. */
__objc_class_tree_list = list_cons (NULL, __objc_class_tree_list);
__objc_class_tree_list->head = __objc_tree_insert_class (NULL, class);
struct objc_symtab *symtab = module->symtab;
int i;
- /* Iterate thru classes defined in this module and insert them in
+ /* Iterate through classes defined in this module and insert them in
the classes tree hierarchy. */
for (i = 0; i < symtab->cls_def_cnt; i++)
{
struct objc_symtab *symtab = module->symtab;
int i;
- /* Iterate thru classes defined in this module and call the callback
+ /* Iterate through classes defined in this module and call the callback
for each one. */
for (i = 0; i < symtab->cls_def_cnt; i++)
{
#include "objc/hash.h"
#include "objc/objc-list.h"
-but can almost certainly be shrinked down. */
+but can almost certainly be shrunk down. */
#ifndef __objc_private_runtime_INCLUDE_GNU
#define __objc_private_runtime_INCLUDE_GNU
#include <stdio.h>
#include <ctype.h>
-#include <stddef.h> /* so noone else will get system versions */
+#include <stddef.h> /* so no one else will get system versions */
#include <assert.h>
extern BOOL __objc_add_class_to_hash (Class); /* (objc-class.c) */
node->usage_count--;
/* Normally, we do not reset object to nil here. We'll
leave the lock associated with that object, at zero
- usage count. This makes it slighly more efficient to
+ usage count. This makes it slightly more efficient to
provide a lock for that object if (as likely)
requested again. If the object is deallocated, we
don't care. It will never match a new lock that is
objc_EXPORT Protocol **objc_copyProtocolList (unsigned int *numberOfReturnedProtocols);
/* Add a protocol to a class, and return YES if it was done
- succesfully, and NO if not. At the moment, NO should only happen
+ successfully, and NO if not. At the moment, NO should only happen
if class_ or protocol are nil, if the protocol is not a Protocol
object or if the class already conforms to the protocol. */
objc_EXPORT BOOL class_addProtocol (Class class_, Protocol *protocol);
These functions are used by objc_sizeof_type and objc_alignof_type
functions to compute the size and alignment of structures. The
previous method of computing the size and alignment of a structure
- was not working on some architectures, particulary on AIX, and in
+ was not working on some architectures, particularly on AIX, and in
the presence of bitfields inside the structure. */
struct objc_struct_layout
{