mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
AK: Rename the common integer typedefs to make it obvious what they are.
These types can be picked up by including <AK/Types.h>: * u8, u16, u32, u64 (unsigned) * i8, i16, i32, i64 (signed)
This commit is contained in:
@@ -28,14 +28,14 @@ bool Console::can_read(FileDescription&) const
|
||||
return false;
|
||||
}
|
||||
|
||||
ssize_t Console::read(FileDescription&, byte*, ssize_t)
|
||||
ssize_t Console::read(FileDescription&, u8*, ssize_t)
|
||||
{
|
||||
// FIXME: Implement reading from the console.
|
||||
// Maybe we could use a ring buffer for this device?
|
||||
return 0;
|
||||
}
|
||||
|
||||
ssize_t Console::write(FileDescription&, const byte* data, ssize_t size)
|
||||
ssize_t Console::write(FileDescription&, const u8* data, ssize_t size)
|
||||
{
|
||||
if (!size)
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user