Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- things are getting more interesting with ints, longs and pointers
- there are several different standard data models described by this table:
- +-----------+----------------------------+
- |type\model | LP64 ILP64 LLP64 ILP32 LP32|
- +-----------+----------------------------+
- |char | 8 8 8 8 8 |
- |short | 16 16 16 16 16 |
- |int | 32 64 32 32 16 |
- |long | 64 64 32 32 32 |
- |long long | 64 |
- |void * | 64 64 64 32 32 |
- +-----------+----------------------------+
- Win16 used LP32 (but we don't support it any longer), Win32 obviously used
- ILP32 and Win64 uses LLP64 (a.k.a. P64)
- Under Unix LP64 is the most widely used (the only I've ever seen, in fact)
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement