0

我正在尝试为我的 C-Class 创建一个 python 绑定,它有两个 int 参数。但是,当我尝试创建绑定时,我在 'template<class T, class X1, class X2, class X3> class boost::python::class_ 的模板参数列表中的参数 1 处得到“类型/值不匹配” “ 错误。

template <>
tomo::jaw::JawCalibrationPoint<int,int> const volatile * get_pointer<class tomo::jaw::JawCalibrationPoint<int, int> const volatile >(
class tomo::jaw::JawCalibrationPoint<int, int> const volatile *c)
{
    return c;
}

这是我试图创建的绑定,这给了我上面提到的错误。

class_< tomo::jaw::JawCalibrationPoint, boost::uint32_t, boost::uint32_t > ("JawPoint");

我究竟做错了什么?

4

0 回答 0