Код: Выделить всё
typedef Function Function_f64;
const Function_f64* cast_Function_f64(const PyObject* obj) {
auto handle = nanobind::handle(obj);
return nanobind::cast(handle);
}
У кого-нибудь есть идеи, что изменилось? Есть ли другой способ использовать указатель объекта C++ в моем коде?
Подробнее здесь: https://stackoverflow.com/questions/798 ... ind-update
Мобильная версия