We ran into similar problems integrating a third party library into a perl
application with SWIG. There appeared to be some confusion between perl and
SWIG over references/pointers and allocating memory for the referred/pointed to
object. We worked around the problem by making sure the memory allocation
happened in perl (by initializing the reference with a suitably large object).
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.