Skip to content

feat(ffi): support call-scoped native callbacks - #128

Merged
ctate merged 2 commits into
mainfrom
ctate/fn-pointer
Aug 11, 2026
Merged

feat(ffi): support call-scoped native callbacks#128
ctate merged 2 commits into
mainfrom
ctate/fn-pointer

Conversation

@ctate

@ctate ctate commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator
  • Add format-2 callback/context declarations with exact ABI positions and strict lifetime validation.
  • Emit capture-aware C and LLVM trampolines with scalar coercion and exception propagation.
  • Document the callback contract and cover both backends in plain and sanitized tests.

- Add format-2 callback/context declarations with exact ABI positions and strict lifetime validation.
- Emit capture-aware C and LLVM trampolines with scalar coercion and exception propagation.
- Document the callback contract and cover both backends in plain and sanitized tests.

Co-authored-by: DemonGPT <127974011+DemonGPT@users.noreply.github.com>
@vercel

vercel Bot commented Aug 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
scriptc Ready Ready Preview Aug 11, 2026 6:13am

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