From 5ed0fe741d734ce34645aae2c479edba4246e56c Mon Sep 17 00:00:00 2001 From: mertcandav Date: Wed, 12 Jun 2024 13:08:18 +0300 Subject: [PATCH] update API outln function --- api/builtin.hpp | 5 +++-- ir.cpp | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/builtin.hpp b/api/builtin.hpp index b7b8768ea..be3cdf270 100644 --- a/api/builtin.hpp +++ b/api/builtin.hpp @@ -45,13 +45,14 @@ namespace jule template inline void out(const T &obj) noexcept { -#ifdef OS_WINDOWS +/*#ifdef OS_WINDOWS const std::vector utf16_str = jule::utf16_from_str(jule::to_str(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 diff --git a/ir.cpp b/ir.cpp index 2c44b679c..5e87a179a 100644 --- a/ir.cpp +++ b/ir.cpp @@ -63093,7 +63093,6 @@ inline void _21105367d_showInfo(void) { void entry_point(void) { jule::Slice _18913_args = _212d0e28e_Args();; jule::outln(_18913_args); - std::cout << "test" << std::endl; if ((_18913_args.len() < 2LL)) { _21105367d_showInfo(); return;;