/* Standard C headers */ #include <assert.h> #include <stddef.h> #include <stdlib.h> #include <string.h> /* POSIX headers */ #ifdef __ANDROID__ #include <malloc.h> #endif /* Windows headers */ #ifdef _WIN32 #include <malloc.h> #endif /* Internal library headers */ #include "threadpool-common.h" #include "threadpool-object.h" PTHREADPOOL_INTERNAL struct pthreadpool* pthreadpool_allocate( size_t threads_count) { … } PTHREADPOOL_INTERNAL void pthreadpool_deallocate( struct pthreadpool* threadpool) { … }