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

Annotation for foreign structs #2

Open
jamie-pate opened this issue Jan 10, 2016 · 1 comment
Open

Annotation for foreign structs #2

jamie-pate opened this issue Jan 10, 2016 · 1 comment

Comments

@jamie-pate
Copy link
Owner

Add @foreign annotation for structs defined in read only foreign headers.

Eg:

//@json
/* @foreign struct tm {
    tm_isdst: 'private' 
}
*/

Not 100% sure on the syntax yet

@jamie-pate
Copy link
Owner Author

it would be great if this could produce a binary compatible copy of the foreign struct, with extra fields at the end for use with xyz__null__ etc.

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

1 participant