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

internal error when using invalid designator class in C-FFI #49

Open
waywardmonkeys opened this issue Nov 24, 2011 · 1 comment
Open

Comments

@waywardmonkeys
Copy link
Member

I have an invalid designator class in my C-FFI usage:

define C-subtype <foo> (<void*>) end;

And I get this internal error:

Computing models for c-wrapper.dylan

Internal error: : #f is not of type {<class>: <&designator-class>}
@waywardmonkeys
Copy link
Member Author

This might be related to this method:

define method verify-mapped-subtype-options (fragment, name, supers,
                                             partial-import-function,
                                             partial-export-function,
                                             import-type,
                                             export-type,
                                             pointer-type-name,
                                             define-pointer-value-setter)
 => ();
  // !@#$ do this error checking
  values();
end;

cgay pushed a commit to cgay/opendylan that referenced this issue May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant