in reply to Re^8: XS/Inline::C concat *any* two SVs. (!all)
in thread XS/Inline::C concat *any* two SVs.

As for nulls in read-only scalars, I would think sv_catsv would handle that case, no?

This doesn't

a = newSVpv( SvPVX( a ), 0 );

It is another place that doesn't handle magic either.

I don't know what you mean by "any more problems than say, packed ints". Does this mean you've thought of a case where SvPVX() doesn't return a pointer to the string value of a scalar? Surely there are some. Isn't that problem enough?

- tye        

Replies are listed 'Best First'.
Re^10: XS/Inline::C concat *any* two SVs. (!all)
by creamygoodness (Curate) on May 31, 2006 at 18:59 UTC