wp-color-management-v1: allocate description ids linearly
This commit is contained in:
parent
401e8bb0be
commit
c9b0e86bf5
6 changed files with 10 additions and 30 deletions
|
|
@ -185,6 +185,7 @@ macro_rules! linear_ids {
|
|||
linear_ids!($(#[$attr1])* $ids, $id, u32);
|
||||
};
|
||||
($(#[$attr1:meta])* $ids:ident, $id:ident, $ty:ty $(,)?) => {
|
||||
#[derive(Debug)]
|
||||
pub struct $ids {
|
||||
next: crate::utils::numcell::NumCell<$ty>,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue