standalone: Use putchar for emit

This commit is contained in:
Remko Tronçon 2022-07-11 21:00:22 +02:00
parent db43e9540a
commit 74b4434a81

View file

@ -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) { 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; return NULL;
} }