Skip to content

Commit

Permalink
add putchar_ to mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
stellar-aria committed Jan 4, 2025
1 parent f8423d9 commit 675258c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/32bit_unit_tests/mocks/mock_print.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "io/debug/print.h"
#include <cstdio>
#include <iostream>
using namespace std;

Expand All @@ -23,3 +24,7 @@ void print(int32_t number) {
}

} // namespace Debug

extern "C" void putchar_(char c) {
putchar(c);
}

0 comments on commit 675258c

Please sign in to comment.