18 lines
476 B
Plaintext
18 lines
476 B
Plaintext
from stdint import *
|
|
import win32.win32console
|
|
import t, c
|
|
from t import CInt, CExport
|
|
import memhub
|
|
import mbuddytest
|
|
|
|
|
|
def main() -> CInt | CExport:
|
|
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()
|