Commit graph

9 commits

Author SHA1 Message Date
Virgil
03203d866b docs(core-go-cgo): clarify close cleanup usage examples
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 19:42:40 +00:00
Virgil
0aeba0a5db fix(scope): disable cgo finalizers after manual cleanup
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 19:41:21 +00:00
Virgil
446a02fad9 feat(scope): add buffer close helper for lifecycle symmetry
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 19:40:03 +00:00
Virgil
eb0494fddf chore(ax): align exported cgo comments with usage examples
- Update exported API comments to concrete usage examples for Buffer, Scope, and C conversion helpers.
- Emphasize concrete call patterns in Call/Errno/CString/SizeT docs per AX principles.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 19:38:58 +00:00
Virgil
7588b3d1de feat(cgo): allocate buffer from C heap
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 19:34:48 +00:00
Virgil
f19b691112 feat(core): make Buffer.IsFreed nil-safe
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 19:31:31 +00:00
Virgil
e3a90fd781 feat(scope): add GC finalizer cleanup for buffers
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 19:28:24 +00:00
Virgil
0d92d53190 docs: align exported API comments with AX examples
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 19:27:25 +00:00
Virgil
530bfd55f9 feat(buffer): implement RFC buffer lifecycle with safety checks
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-03 19:11:30 +00:00