* Gabriel F. T. Gomes: > That I did and the tests pass. However, since I'm not sure that the > tests test the changed ABI, let's wait for the Perl Team opinion.
Though we can still wait for the Perl Team's opinion, I recently learned more about SWIG and taking care of these API changes in data types is exactly its point. A pointer to a struct in a foreign language (in our case, C) is described with the help of "%typemap" statements, and this is what libdevice_cdio_perl does in swig/perliso9660.swg. Then uses of the foreign object are wrapped with SWIG_ConvertPtr checks, which libdevice_cdio_perl also does in perliso9660_wrap.c.