Mercurial > MadButterfly
diff include/mb_types.h @ 322:c1afd14caa85
Remove out-of-date comments and refactor code and fix a small bug.
- When collect descendant areas in zeroing_coord(), cached coord itself
should use coord_canvas_info_t::owner_mems_area instead of
coord_t::cur_area.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Thu, 05 Mar 2009 14:07:49 +0800 |
parents | 6c350fc92ae3 |
children | 3e84458968ec |
line wrap: on
line diff
--- a/include/mb_types.h Thu Mar 05 08:31:57 2009 +0800 +++ b/include/mb_types.h Thu Mar 05 14:07:49 2009 +0800 @@ -154,6 +154,9 @@ */ area_t aggr_dirty_areas[2]; /*!< Used to aggregate updates to parent. */ area_t cached_dirty_area; /*!< Used to dirty an area in cached space. */ + area_t owner_mems_area; /*!< \brief The area is covered by members + * of owner. + */ } coord_canvas_info_t; /*! \brief A coordination system. @@ -228,6 +231,7 @@ #define COF_MUST_ZEROING 0x100 /*!< \sa \ref cache_imp */ #define COF_JUST_CLEAN 0x200 /*!< \brief This coord is just cleaned by * last clean. + * It is used by clean_rdman_dirties(). */ #define COF_TEMP_MARK 0x400 /*!< \brief Temporary mark a coord. */ /* @} */