Skip to content

Commit ffdf330

Browse files
committed
Remove Union from bunkai
1 parent 1c9f273 commit ffdf330

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ptrlib/filestruct/bunkai.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,11 +392,12 @@ def __ge__(self, other):
392392
s32be = BunkaiPrimitive(ctypes.c_int32, True)
393393
s64be = BunkaiPrimitive(ctypes.c_int64, True)
394394

395+
# NOTE: We don't expose 'Union' as it conflict with typing.Union
395396
__all__ = [
396397
'u8', 'u16', 'u32', 'u64', 's8', 's16', 's32', 's64',
397398
'u8be', 'u16be', 'u32be', 'u64be', 's8be', 's16be', 's32be', 's64be',
398399
'BunkaiPrimitive', 'BunkaiMember',
399-
'Enum', 'Union', 'Array', 'VariableArray', 'Struct', 'BitStruct', 'BitInt'
400+
'Enum', 'Array', 'VariableArray', 'Struct', 'BitStruct', 'BitInt'
400401
]
401402

402403

0 commit comments

Comments
 (0)