Skip to content

Commit

Permalink
IO::readline() implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Feb 16, 2021
1 parent 3349943 commit bdd9dad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sdk/librishka_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@ rune IO::readch() {
return (rune) rishka_sc_0(RISHKA_SC_IO_READCH);
}

string IO::readline() {
return (string) rishka_sc_0(RISHKA_SC_IO_READLINE);
}

void Sys::exit(i32 code) {
rishka_sc_1(RISHKA_SC_SYS_EXIT, (i64) code);
}
Expand Down

0 comments on commit bdd9dad

Please sign in to comment.