XuvTools is developed in a cooperative effort from:
  • Chair of Pattern Recognition and Image Processing [www]
  • Friedrich Miescher Institute for Biomedical Research [www]
  • Center for Biological Systems Analysis [www]
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
devel:sizeof [2009/04/10 17:06]
mario added Mac 32bit
devel:sizeof [2009/04/10 17:08]
mario added Mac 64bit details
Line 102: Line 102:
 <​code>​ <​code>​
 #if defined(__APPLE__) && (defined(__x86_64__) || defined(__ppc64__)) #if defined(__APPLE__) && (defined(__x86_64__) || defined(__ppc64__))
 +#define SIZEOF_CHAR 1
 #define SIZEOF_DOUBLE 8 #define SIZEOF_DOUBLE 8
 #define SIZEOF_FLOAT 4 #define SIZEOF_FLOAT 4
 #define SIZEOF_INT 4 #define SIZEOF_INT 4
 #define SIZEOF_LONG 8 #define SIZEOF_LONG 8
 +#define SIZEOF_LONG_DOUBLE 16
 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG_LONG 8
 #define SIZEOF_OFF_T 8 #define SIZEOF_OFF_T 8
Line 111: Line 113:
 #define SIZEOF_SHORT 2 #define SIZEOF_SHORT 2
 #define SIZEOF_SIZE_T 8 #define SIZEOF_SIZE_T 8
 +#define SIZEOF_SSIZE_T 8
 #define SIZEOF_UNSIGNED_INT 4 #define SIZEOF_UNSIGNED_INT 4
 #define SIZEOF_UNSIGNED_LONG 8 #define SIZEOF_UNSIGNED_LONG 8
 #define SIZEOF_UNSIGNED_LONG_LONG 8 #define SIZEOF_UNSIGNED_LONG_LONG 8
 +// ---- extended ----
 +#define SIZEOF_INT16_T 2
 +#define SIZEOF_INT32_T 4
 +#define SIZEOF_INT64_T 8
 +#define SIZEOF_INT8_T 1
 +#define SIZEOF_INT_FAST16_T 2
 +#define SIZEOF_INT_FAST32_T 4
 +#define SIZEOF_INT_FAST64_T 8
 +#define SIZEOF_INT_FAST8_T 1
 +#define SIZEOF_INT_LEAST16_T 2
 +#define SIZEOF_INT_LEAST32_T 4
 +#define SIZEOF_INT_LEAST64_T 8
 +#define SIZEOF_INT_LEAST8_T 1
 +#define SIZEOF_UINT16_T 2
 +#define SIZEOF_UINT32_T 4
 +#define SIZEOF_UINT64_T 8
 +#define SIZEOF_UINT8_T 1
 +#define SIZEOF_UINT_FAST16_T 2
 +#define SIZEOF_UINT_FAST32_T 4
 +#define SIZEOF_UINT_FAST64_T 8
 +#define SIZEOF_UINT_FAST8_T 1
 +#define SIZEOF_UINT_LEAST16_T 2
 +#define SIZEOF_UINT_LEAST32_T 4
 +#define SIZEOF_UINT_LEAST64_T 8
 +#define SIZEOF_UINT_LEAST8_T 1
 #endif #endif
 </​code>​ </​code>​
devel/sizeof.txt ยท Last modified: 2009/04/10 17:08 by mario
Contact: admin(a)xuvtools.org