filename | test/lib.h |
changeset | 278:a66aaa522d31 |
prev | 210:c356f597c896 |
next | 812:8cc61d5ea1f8 |
author | nkeynes |
date | Thu Aug 07 23:36:22 2008 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Only install the .png pixmaps in a make install (.icns are OS X bundle only) |
file | annotate | diff | log | raw |
1.1 --- a/test/lib.h Fri Aug 18 09:31:12 2006 +00001.2 +++ b/test/lib.h Thu Aug 07 23:36:22 2008 +00001.3 @@ -59,5 +59,6 @@1.4 int is_start_pressed();1.6 #define CHECK_IEQUALS( a, b ) if( a != b ) { fprintf(stderr, "Assertion failed at %s:%d: expected %08X, but was %08X\n", __FILE__, __LINE__, a, b ); return -1; }1.7 +#define DMA_ALIGN(x) ((void *)((((unsigned int)(x))+0x1F)&0xFFFFFFE0))1.9 #endif
.