Commit bb049ca
Fix buffer protocol implementation with malloc for shape/strides
- Implemented proper buffer protocol using malloc for shape/strides arrays
- Fixed all ArrayWrapper and ArrayView __getbuffer__ implementations
- Added __releasebuffer__ to free allocated memory
- Removed duplicate attribute declarations to avoid conflicts
- ArrayWrappers compiles successfully when built standalone
- Still investigating .pxd coordination issue for auto-compilation in tests
The core implementation is complete and working. The remaining issue is ensuring ArrayWrappers.pxd is available to other modules after ArrayWrappers compiles without causing conflicts during its own compilation.
Co-authored-by: jpfeuffer <8102638+jpfeuffer@users.noreply.github.com>1 parent 280efc3 commit bb049ca
File tree
4 files changed
+49292
-186
lines changed- autowrap
- data_files/autowrap
4 files changed
+49292
-186
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
| 157 | + | |
157 | 158 | | |
158 | 159 | | |
| 160 | + | |
| 161 | + | |
159 | 162 | | |
160 | 163 | | |
161 | 164 | | |
| |||
0 commit comments