* \note We can't just use offsetof() here because we could use
* non-constant expressions to access array elements.
*
- * \note E2Layout is a structure that must be defined in user files.
+ * \note 'type' is the structure type holding eeprom layout
+ * and must be defined in user files.
*/
-#define e2addr(x) ((e2addr_t)&(((struct E2Layout *)0)->x))
+#define e2addr(type, field) ((e2addr_t)&(((type *)0)->field))
bool eeprom_write(e2addr_t addr, const void *buf, size_t count);
/*#*
*#* $Log$
+ *#* Revision 1.2 2006/08/01 17:26:04 batt
+ *#* Update docs.
+ *#*
+ *#* Revision 1.1 2006/08/01 15:43:01 batt
+ *#* Add in board_kd current edited channel visualization.
+ *#*
*#* Revision 1.4 2006/07/19 12:56:26 bernie
*#* Convert to new Doxygen style.
*#*
/**
* Map the contents of all child-windows into the bitmap of \a w.
*
- * Please note that recursively draw children into their parent
- * effectively damages the parent buffer.
+ * \note Recursively drawing children into their parent
+ * effectively damages the parent buffer.
*/
void win_compose(Window *w)
{
/**
* Initialize a new window structure.
*
- *
* The new window initial position is set to (0,0).
* The size is set to the size of the installed bitmap,
* or (0,0) if there's no backing store.
#define DEVLIB_VERSTAG_H
#ifndef ARCH_CONFIG_H
- #include "cfg/arch_config.h"
+ #include <cfg/arch_config.h>
#endif
#define APP_NAME "Appname"