Skip to content

Commit

Permalink
update API outln function
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed Jun 12, 2024
1 parent bc91860 commit 5ed0fe7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions api/builtin.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,14 @@ namespace jule
template <typename T>
inline void out(const T &obj) noexcept
{
#ifdef OS_WINDOWS
/*#ifdef OS_WINDOWS
const std::vector<jule::U16> utf16_str = jule::utf16_from_str(jule::to_str<T>(obj));
HANDLE handle = GetStdHandle(STD_OUTPUT_HANDLE);
WriteConsoleW(handle, utf16_str.data(), utf16_str.size(), nullptr, nullptr);
#else
std::cout << obj;
#endif
#endif*/
std::cout << obj;
}

template <typename T>
Expand Down
1 change: 0 additions & 1 deletion ir.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63093,7 +63093,6 @@ inline void _21105367d_showInfo(void) {
void entry_point(void) {
jule::Slice<jule::Str> _18913_args = _212d0e28e_Args();;
jule::outln(_18913_args);
std::cout << "test" << std::endl;
if ((_18913_args.len() < 2LL)) {
_21105367d_showInfo();
return;;
Expand Down

0 comments on commit 5ed0fe7

Please sign in to comment.