mirror of
https://github.com/remko/waforth
synced 2024-12-26 09:59:09 +01:00
standalone: Use putchar for emit
This commit is contained in:
parent
db43e9540a
commit
74b4434a81
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ void print_trap(wasm_trap_t *trap) {
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
wasm_trap_t *emit_cb(const wasm_val_vec_t *args, wasm_val_vec_t *results) {
|
||||
printf("%c", args->data[0].of.i32);
|
||||
putchar(args->data[0].of.i32);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue