对于下面的C++ API:
std::vector<float> get_sweep_points() { return program->sweep_points; }
swig生成一个包装器,它返回一个元组 () ,而不是列表 [] . 为什么?如何强制swig将列表返回给python。