mirror of
https://github.com/LdDl/go-darknet.git
synced 2025-09-26 19:51:27 +08:00
8 lines
167 B
C
8 lines
167 B
C
#include <stdlib.h>
|
|
|
|
char *get_class_name(char **names, int index, int names_len) {
|
|
if (index >= names_len) {
|
|
return NULL;
|
|
}
|
|
return names[index];
|
|
} |