Commit 11e5f21
Fix ArrayWrapper inlining to go to pyx only, not pxd
Re-enable ArrayWrapper inlining with the fix that adds ArrayWrappers
to top_level_pyx_code instead of top_level_code. This ensures:
- ArrayWrappers are only placed in .pyx files (not .pxd files)
- No Cython declaration conflicts when projects have their own ArrayWrappers
- Projects can now remove their own ArrayWrapper definitions and use autowrap's
Benefits for projects using this:
- Additional integer array types (Int8-64, UInt8-64)
- Extra methods: __init__(size), resize(), size()
- Better documentation
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent abfbaa2 commit 11e5f21
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2134 | 2134 | | |
2135 | 2135 | | |
2136 | 2136 | | |
2137 | | - | |
2138 | | - | |
2139 | 2137 | | |
2140 | | - | |
2141 | | - | |
| 2138 | + | |
| 2139 | + | |
2142 | 2140 | | |
2143 | 2141 | | |
2144 | 2142 | | |
| |||
0 commit comments