Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
gle/copy.h
/* |
* |
* 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); \ |
} |
/* ============================================================= */ |
Copyright © 2008 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2008-02-08