Skip to content

Fix string memory ownership issues with GennyBuffer.#66

Merged
treeform merged 1 commit into
masterfrom
string-buffer
May 25, 2026
Merged

Fix string memory ownership issues with GennyBuffer.#66
treeform merged 1 commit into
masterfrom
string-buffer

Conversation

@treeform
Copy link
Copy Markdown
Owner

@treeform treeform commented May 25, 2026

  • Add an owned GennyBuffer ABI for Nim string returns.
  • Keep GennyBuffer visible in the low-level C header while higher-level bindings copy into native strings and release the buffer.
  • Update C++, Nim, Python, native Python, Node, and Zig generators plus regenerated fixtures.
  • Add embedded-NUL string coverage and update Pixie C/C++/Zig tests for owned string returns.

@treeform treeform marked this pull request as ready for review May 25, 2026 19:45
@treeform treeform changed the title Add owned string buffer ABI Add owned string GennyBuffer ABI to fix the memory ownership issues. May 25, 2026
@treeform treeform changed the title Add owned string GennyBuffer ABI to fix the memory ownership issues. Fix string memory ownership issues with GennyBuffer. May 25, 2026
@treeform treeform merged commit bd7f95f into master May 25, 2026
7 checks passed
This was referenced May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant