修复了大量存在的问题,增加了假鸭子类型等等机制
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -7,7 +7,7 @@ import mpool
|
||||
|
||||
|
||||
def mpool_main() -> CInt:
|
||||
buf: CChar | CPtr = CPtr(stdlib.malloc(256))
|
||||
buf: bytes = stdlib.malloc(256)
|
||||
|
||||
arena: bytes = stdlib.malloc(4096)
|
||||
with mpool.MPool(arena, 4096, 0) as pool:
|
||||
|
||||
Reference in New Issue
Block a user