Repository navigation
Expand file tree
/
Copy pathduff.h
More file actions
23 lines (21 loc) · 1.39 KB
/
Copy pathduff.h
File metadata and controls
23 lines (21 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef __duf_h__
#define __duf_h__
#define duff_device(...) \
{ \
*to++ = *from++; \
case 7: \
*to++ = *from++; \
case 6: \
*to++ = *from++; \
case 5: \
*to++ = *from++; \
case 4: \
*to++ = *from++; \
case 3: \
*to++ = *from++; \
case 2: \
*to++ = *from++; \
case 1: \
*to++ = *from++; \
}
#endif