all integer sizes are available as primitives
* fix wrong implicit cast for `@IntType` bit_count parameter. * fix incorrect docs for `@IntType` bit_count parameter. closes #1242 closes #745 closes #1240
This commit is contained in:
@@ -240,7 +240,6 @@ fn getC(data: *const BitField1) u2 {
|
||||
return data.c;
|
||||
}
|
||||
|
||||
const u24 = @IntType(false, 24);
|
||||
const Foo24Bits = packed struct {
|
||||
field: u24,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user