Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Some fixes #65

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

Merged
jacksondunstan merged 4 commits into jacksondunstan:master from Kaladrius2trip:some_fixes
Dec 11, 2020
Merged

Conversation

@Kaladrius2trip
Copy link
Contributor

@Kaladrius2trip Kaladrius2trip commented Dec 10, 2020
edited
Loading

For searching tags by IndexOf in existing binding files now uses Environment.NewLine.
Because in Windows default newline symbols it's "\r\n" instead "\n". Maybe should use RegEx for this.

And all library build with prefix "lib" so...
I have no idea how to fix it. I use CMake command to replace this by empty string.

Copy link
Owner

@Kaladrius2trip Thanks for submitting this PR! I like the newline change and the updates to some of the Unity packages. May I ask why the "lib" prefix should be stripped off of build file names?

Copy link
Contributor Author

@jacksondunstan I use MinGW compiler. And library have this prefix on windows platform, but in const you are set lib name without prefix. I added condition for this in CMakeList.

And i changed all "\n" to Environment.NewLine
When use StringBuilder.AppendLine it commonly use NewLine from Environment. With that might have some issue. But i cheked example and generated code looks like same.

@jacksondunstan jacksondunstan merged commit 5e9e182 into jacksondunstan:master Dec 11, 2020
Copy link
Owner

@Kaladrius2trip Thanks for explaining the "lib" prefix and for changing it to only be stripped for MinGW. Thanks also for the the change to output environment-specific newlines. I went ahead and merged your changes.

Kaladrius2trip reacted with heart emoji Kaladrius2trip reacted with rocket emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /