bufferinfo.ndim

Number of dimensions in the buffer described by the `bufferinfo` struct.

struct bufferinfo
int ndim;