by Rob Toulson and Tim Wilmshurst from textbook "Fast and Effective Embedded Systems Design: Applying the ARM mbed"
header.h@0:16b94e5005da, 2012-10-15 (annotated)
- Committer:
- robt
- Date:
- Mon Oct 15 21:23:26 2012 +0000
- Revision:
- 0:16b94e5005da
by Rob Toulson and Tim Wilmshurst from textbook "Fast and Effective Embedded Systems Design: Applying the ARM mbed"
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
robt | 0:16b94e5005da | 1 | /* Program Example 6.4: Template for .h header file |
robt | 0:16b94e5005da | 2 | */ |
robt | 0:16b94e5005da | 3 | |
robt | 0:16b94e5005da | 4 | #ifndef VARIABLE_H // if VARIABLE_H has not previously been defined |
robt | 0:16b94e5005da | 5 | #define VARIABLE_H // define it now |
robt | 0:16b94e5005da | 6 | |
robt | 0:16b94e5005da | 7 | // header declarations here… |
robt | 0:16b94e5005da | 8 | |
robt | 0:16b94e5005da | 9 | #endif // end of the if directive |