Inherit ChunkField from int, Enum (#2210)

pull/2213/head
CptGibbon 2 years ago committed by GitHub
parent d0e54b8e44
commit 8625b30746
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -167,7 +167,7 @@ def heap_for_ptr(ptr: int) -> int:
return ptr & ~(HEAP_MAX_SIZE - 1)
class ChunkField(Enum):
class ChunkField(int, Enum):
PREV_SIZE = 1
SIZE = 2
FD = 3

Loading…
Cancel
Save