copy.h 417 Bytes
Newer Older
Dat Nguyen's avatar
Dat Nguyen committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

/*
 *
 * Written By Linas Vepstas November 1991 
 */


#define COPY_THREE_WORDS(A,B) {						\
	struct three_words { int a, b, c, };				\
	*(struct three_words *) (A) = *(struct three_words *) (B);	\
}

#define COPY_FOUR_WORDS(A,B) {						\
	struct four_words { int a, b, c, d, };				\
	*(struct four_words *) (A) = *(struct four_words *) (B);	\
}

/* ============================================================= */