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

Perform work in macro calling environment #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Dec 17, 2017

  1. Configuration menu
    Copy the full SHA
    8ed7e41 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2018

  1. Perform work in macro calling environment

    In `define-ffi-function` and `ffi--struct-union-helper` the work to define ffi
    functions (using `ffi--prep-cif` and `ffi--dlsym`) and types was done in the
    macro environment. This works fine during runtime, but fails for complied code
    since the objects would be created at compile time instead of at runtime. By
    moving the work to the macro's calling environment we avoid this problem.
    nnicandro committed Jan 6, 2018
    Configuration menu
    Copy the full SHA
    995894f View commit details
    Browse the repository at this point in the history