mirror of
https://github.com/cc65/cc65.git
synced 2025-08-13 08:25:28 +00:00
Add comment explaining four_bits_with_int
This commit is contained in:
committed by
Oliver Schmidt
parent
8a331ee7ec
commit
2f456ce4e2
@@ -38,6 +38,11 @@ static void test_four_bits(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Logic is somewhat diferent for bit-fields that end a struct vs
|
||||||
|
having additional fields.
|
||||||
|
*/
|
||||||
|
|
||||||
static struct four_bits_with_int {
|
static struct four_bits_with_int {
|
||||||
unsigned int x : 4;
|
unsigned int x : 4;
|
||||||
unsigned int y;
|
unsigned int y;
|
||||||
|
Reference in New Issue
Block a user