develooper Front page | perl.perl5.porters | Postings from August 2012

Re: RFC: pack()ing long words

Thread Previous | Thread Next
David Cantrell
August 14, 2012 10:10
Re: RFC: pack()ing long words
Message ID:
On Mon, Aug 13, 2012 at 07:18:42PM -0500, Craig A. Berry wrote:

> pp_pack.c has its terrors, but even I can see that if you unpack an
> integer type you get an IV or a UV on the stack (that's what mPUSHi
> and mPUSHu do).  What is it you want pushed on the stack when you
> unpack a 16-byte word?

Dunno.  I guess the thing that is the closest match to an int would be a
string of bytes in the right order, so a PV.

David Cantrell | top google result for "topless karaoke murders"

I know that you believe you understand what you think you wrote, but
I'm not sure you realize that what you wrote is not what you meant.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About