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 structs to FFI #47

Draft
wants to merge 11 commits into
base: feature/vm-dynload
Choose a base branch
from
Draft

Add structs to FFI #47

wants to merge 11 commits into from

Conversation

agentultra
Copy link
Collaborator

No description provided.

agentultra and others added 11 commits May 25, 2019 21:38
Rename a poorly named variable.
The idea here is that when we register the `ffi` attribute we'll
case match on the expresssion: if it's a function definition use the
function attribute, if it's a structure then use this one.
We should be able to get the Lean struct definition from the
environment without parsing the attribute field.
Also start pulling in the struct definition from the vm
Added add_foreign_struct to create an ffi_type definition to tell
libffi about a user struct type
@gebner gebner added the WIP Work in progress label Apr 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants