79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
objc_global_mutex_unlock();
return (SEL)selector;
}
if ((selector = malloc(sizeof(*selector))) == NULL)
OBJC_ERROR("Not enough memory to allocate selector!");
if ((selector->UID = (uintptr_t)of_strdup(name)) == 0)
OBJC_ERROR("Not enough memory to allocate selector!");
selector->typeEncoding = NULL;
if ((freeList = realloc(freeList,
sizeof(void *) * (freeListCount + 2))) == NULL)
OBJC_ERROR("Not enough memory to allocate selector!");
|
|
|
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
objc_global_mutex_unlock();
return (SEL)selector;
}
if ((selector = malloc(sizeof(*selector))) == NULL)
OBJC_ERROR("Not enough memory to allocate selector!");
if ((selector->UID = (uintptr_t)objc_strdup(name)) == 0)
OBJC_ERROR("Not enough memory to allocate selector!");
selector->typeEncoding = NULL;
if ((freeList = realloc(freeList,
sizeof(void *) * (freeListCount + 2))) == NULL)
OBJC_ERROR("Not enough memory to allocate selector!");
|