| 1 | #ifndef VX11_TEST_ABI_H |
| 2 | #define VX11_TEST_ABI_H |
| 3 | #include <limits.h> |
| 4 | static inline unsigned int vx11_test_long_size(void) { return sizeof(long); } |
| 5 | static inline unsigned int vx11_test_int_size(void) { return sizeof(int); } |
| 6 | static inline void vx11_test_store_long(long *p) { |
| 7 | *p = -(1L << (sizeof(long) * CHAR_BIT - 2)); |
| 8 | } |
| 9 | static inline void vx11_test_store_ulong(unsigned long *p) { *p = ULONG_MAX; } |
| 10 | #endif |
| 11 |