Skip to content

Commit da92ff4

Browse files
committed
astructs: stop re-exporting AccessStruct
AccessStruct is no longer used by the vamos runtime or allocator. Keeping it in the umbrella astructs import kept the obsolete helper in the default public surface even after the caller cleanup was finished. Stop re-exporting AccessStruct from astructs/__init__.py and update the dedicated unit test to import it from its direct module instead. This keeps the standalone compatibility module available without presenting it as part of the primary typed-struct API.
1 parent ec30bb7 commit da92ff4

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

amitools/vamos/astructs/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from .access import AccessStruct
21
from .astruct import AmigaStruct, AmigaStructTypes, APTR_SELF, BPTR_SELF
32
from .astructdef import AmigaStructDef, AmigaClassDef
43
from .scalar import ULONG, LONG, UWORD, WORD, UBYTE, BYTE, ScalarType

test/unit/astructs_access.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import pytest
22
from amitools.vamos.astructs import (
3-
AccessStruct,
43
AmigaStruct,
54
AmigaStructDef,
65
APTR_SELF,
@@ -11,6 +10,7 @@
1110
CSTR,
1211
BPTR_VOID,
1312
)
13+
from amitools.vamos.astructs.access import AccessStruct
1414
from amitools.vamos.machine.mock import MockMemory
1515

1616

0 commit comments

Comments
 (0)