from stdint import * import win32.win32console import memhub import mbuddytest export def main() -> int: win32.win32console.SetConsoleCP(65001) win32.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()