It was crashing because you forgot to upgrade the scalar to one that has an IV slot before trying to change the IV slot. sv_setiv works because it performs the upgrade.
In reply to Re^5: XS: exposing C++ library constant as package variable ( sv_setiv , SvIV_set )
by ikegami
in thread XS: exposing C++ library constant as package variable
by wisnij
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |