把 81 个 .vp 文件的中文 # 注释与三引号文档串改写为简洁英文,每个连续注释块 <=2 行;运行时中文字符串字面量(testcheck.begin/print 等用户可见消息)保持原样。骨架比对 HEAD 与工作区 112 文件漂移 0,全量 77/77 顺序回归通过。
18 lines
470 B
Plaintext
18 lines
470 B
Plaintext
from stdint import *
|
|
import w32.win32console
|
|
import t, c
|
|
from t import CInt, CExport
|
|
import memhub
|
|
import mbuddytest
|
|
|
|
|
|
def main() -> CInt | CExport:
|
|
w32.win32console.SetConsoleCP(65001)
|
|
w32.win32console.SetConsoleOutputCP(65001)
|
|
|
|
# BuddyTest has a negative case that deliberately double-frees. With memhub's
|
|
# [MEMDBG] checks on (_memdbg_enable=1) the second free aborts, so disable it.
|
|
memhub._memdbg_enable = 0
|
|
|
|
return mbuddytest.mbuddy_main()
|