in reply to Re^2: LoA from XS
in thread LoA from XS
Now I just need to undestand the changes.
Two problems were fixed.
av_fetch returns a pointer to a SV* (which may be NULL). It needs to be dereferenced into a SV*, not casted to SV*.
Each element of the array is a string, not a reference to the string. The SvRV was extraneous.
|
|---|