ObjFW  Diff

Differences From Artifact [628f2b08c1]:

To Artifact [6da45bb3d8]:


584
585
586
587
588
589
590
591
592







593
594
595
596
597
598
599
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)
		return classesCount;
	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;