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

Some more minor improvements #75

Merged
merged 5 commits into from
Jun 23, 2019

Conversation

tannergooding
Copy link
Member

  • Adds a config switch to ignore any default remappings added.
  • Resolves the full path of -o so that -o file.cs works (it was creating a directory with that name currently)
  • Adds a --traverse option so that you can -f header.cs and then generate bindings for a nested include
    • This is useful when you need to generate bindings for a header file which isn't "standalone"
  • Fixes CXUnsavedFile and CXTUResourceUsageEntry to use uint on Windows and UIntPtr on Unix for their unsigned long usages
    • Going to log an issue tracking a general purpose solution for this, so it isn't manual

@tannergooding
Copy link
Member Author

tannergooding commented Jun 23, 2019

Also pushed up a commit which simplifies how the opcode for a binary/unary operator is computed.

The logic in BinaryOperator specifically wasn't accounting for the fact that LHS could itself be a non-parenthesized binary expression.

Now, it just grabs the first opcode after the LHS expression, which should always be the opcode.

@tannergooding tannergooding merged commit 6684c9c into dotnet:master Jun 23, 2019
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.

2 participants