Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Host Functions #11

Closed
mhmd-azeez opened this issue Jan 23, 2024 · 0 comments · Fixed by #13
Closed

Add support for Host Functions #11

mhmd-azeez opened this issue Jan 23, 2024 · 0 comments · Fixed by #13
Assignees

Comments

@mhmd-azeez
Copy link
Contributor

No description provided.

@mhmd-azeez mhmd-azeez removed this from Extism 1.0 Jan 23, 2024
@mhmd-azeez mhmd-azeez self-assigned this Jan 23, 2024
mhmd-azeez added a commit that referenced this issue Jan 29, 2024
Fixes #11 

 - [x] Implement FFI calls
 - [x] Implement CurrentPlugin
 - [x] Implement HostFunction
 - [x] Fail fast when validating callback params
 - [x] Add PHPDoc comments
 - [x] Add README section
 - [x] Add tests
 - [x] Review for breaking changes
- [ ] ~~User Data~~. Wasn't able to find a way to pin PHP objects and
get their address. Users can use captured variables in the callback
closures instead.

---------

Co-authored-by: Steve Manuel <steve@dylib.so>
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 a pull request may close this issue.

1 participant