我想在堆栈上分配一个小数组,其大小在运行时之前是未知的。
以下代码不起作用:
cdef void f(unsigned n, double[] x):
cdef double[n] buffer
alloca(3)
函数?