Skip to content

Commit

Permalink
Add an implementation for char_of_uint8 in kremlib/c/c.c
Browse files Browse the repository at this point in the history
  • Loading branch information
sonmarcho committed Apr 11, 2021
1 parent 0cfb20e commit 82cae1d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kremlib/c/c.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@

intptr_t nullptr = (intptr_t) NULL;

char char_of_uint8(uint8_t c) {
return c;
}

bool __eq__C_char(char c1, char c2) {
return c1 == c2;
}
Expand Down

0 comments on commit 82cae1d

Please sign in to comment.