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

Cstubs arrays and variables #469

Closed
andrewray opened this issue Nov 3, 2016 · 3 comments
Closed

Cstubs arrays and variables #469

andrewray opened this issue Nov 3, 2016 · 3 comments

Comments

@andrewray
Copy link
Contributor

Binding char *__tzname[2]; (from time.h) works with Foreign but fails with Cstubs.FOREIGN with the error:

Fatal error: exception Cstubs_errors.Cstubs_internal_error("Unexpected array type encountered during ML code generation: char*[2]")
@andrewray
Copy link
Contributor Author

Wonderful thanks! I'll get testing right away.

@andrewray
Copy link
Contributor Author

Cool - now have your date example ported to ctypes_of_clang via cstubs.

https://github.com/ujamjar/ctypes_of_clang/blob/master/examples/date/

@yallop
Copy link
Owner

yallop commented Nov 3, 2016

That looks very nice!

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

No branches or pull requests

2 participants