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

Move literal defines to main object #158

Merged
merged 1 commit into from
Aug 13, 2018

Conversation

kornilova203
Copy link
Member

Closes #61

This commit also removes @native.link("bindgentests") @native.extern header for objects that do not have functions or extern variables

@kornilova203 kornilova203 force-pushed the move-defines-to-main-object branch from 6c4a6f6 to b77bfe6 Compare August 13, 2018 17:25
@@ -79,6 +79,7 @@ class BindgenReportingSpec extends FunSpec {
assertBindgenError(
"""union undefinedUnion;
|typedef union undefinedUnion aliasForUndefinedUnion;
|void foo();
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without this function all declarations are skipped and no warning printed

@kornilova203 kornilova203 merged commit 29d8277 into master Aug 13, 2018
@kornilova203 kornilova203 deleted the move-defines-to-main-object branch August 13, 2018 19:17
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

Successfully merging this pull request may close these issues.

1 participant