#ifndef NUMPY_CORE_SRC_COMMON_PARTITION_H_ #define NUMPY_CORE_SRC_COMMON_PARTITION_H_ #include "npy_sort.h" /* Python include is for future object sorts */ #include #include #include #define NPY_MAX_PIVOT_STACK 50 #ifdef __cplusplus extern "C" { #endif NPY_NO_EXPORT PyArray_PartitionFunc * get_partition_func(int type, NPY_SELECTKIND which); NPY_NO_EXPORT PyArray_ArgPartitionFunc * get_argpartition_func(int type, NPY_SELECTKIND which); #ifdef __cplusplus } #endif #endif