Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::PTRSZVAL Type
C++
typedef _32 PTRSZVAL;

This is an unsigned integer type that has the same length as a pointer, so that simple byte offset calculations can be performed against an integer. non-standard compiler extensions allow void* to be added with an index and increase in bytes, but void itself is of 0 size, so anything times 0 should be 0, and no offset should apply. So translation of pointers to integer types allows greater flexibility without relying on compiler features which may not exist.

Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!