584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
|
unsigned int
objc_getClassList(Class *buffer, unsigned int count)
{
unsigned int j;
objc_globalMutex_lock();
if (buffer == NULL)
return classesCount;
if (classesCount < count)
count = classesCount;
j = 0;
for (uint32_t i = 0; i < classes->size; i++) {
void *class;
|
|
>
>
>
>
|
>
|
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
|
unsigned int
objc_getClassList(Class *buffer, unsigned int count)
{
unsigned int j;
objc_globalMutex_lock();
if (buffer == NULL) {
count = classesCount;
objc_globalMutex_unlock();
return count;
}
if (classesCount < count)
count = classesCount;
j = 0;
for (uint32_t i = 0; i < classes->size; i++) {
void *class;
|