update PrintInt and change PutString to PutInt

This commit is contained in:
ChenYen-Yen
2024-10-22 16:27:49 +08:00
committed by Yi-Ting Shih
parent a2e956164f
commit 69f2502823
9 changed files with 21 additions and 36 deletions

View File

@@ -76,7 +76,7 @@ class ConsoleOutput : public CallBackObj {
void PutChar(char ch); // Write "ch" to the console display,
// and return immediately. "callWhenDone"
// will called when the I/O completes.
void PutString(char *str);
void PutInt(int n);
void CallBack(); // Invoked when next character can be put
// out to the display.