From 07fbb4d0a2c84b4308eb09507a843215063b7943 Mon Sep 17 00:00:00 2001 From: TermiNexus Date: Thu, 8 Oct 2026 20:35:23 +0800 Subject: [PATCH] =?UTF-8?q?test(new):=20NewTest=20=E7=9A=84=20main=20?= =?UTF-8?q?=E8=BF=81=E7=A7=BB=E4=B8=BA=20export=20def=20main()=20->=20int?= =?UTF-8?q?=EF=BC=8C=E5=8E=BB=E6=8E=89=E5=A4=9A=E4=BD=99=E7=9A=84=20t/c=20?= =?UTF-8?q?=E5=AF=BC=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NewTest/App/main.vp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/NewTest/App/main.vp b/NewTest/App/main.vp index 785c4e5..00cbf41 100644 --- a/NewTest/App/main.vp +++ b/NewTest/App/main.vp @@ -1,7 +1,5 @@ from stdint import * import w32.win32console -import t, c -from t import CInt, CExport import stdio import stdlib import memhub @@ -26,7 +24,7 @@ novirtual class Point: y: int -def main() -> CInt | CExport: +export def main() -> int: w32.win32console.SetConsoleCP(65001) w32.win32console.SetConsoleOutputCP(65001)