mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-14 01:15:38 -04:00
File: Remove puts(), add write_line(), cascade changes in interface.
This commit is contained in:
parent
c2d971d59e
commit
ffa797b926
5 changed files with 26 additions and 21 deletions
|
@ -207,7 +207,7 @@ public:
|
|||
return write(data.data(), N);
|
||||
}
|
||||
|
||||
Result<size_t> puts(const std::string& string);
|
||||
Optional<Error> write_line(const std::string& s);
|
||||
|
||||
// TODO: Return Result<>.
|
||||
Optional<Error> sync();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue