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

Refactoring MTA code - Part 1 #3340

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

TracerDS
Copy link
Contributor

@TracerDS TracerDS commented Mar 15, 2024

Currently most mta's code uses generic unsigned types which are platform dependent. cstdint header however is (should be) platform independent.
This PR focuses on that irregularity and replaces all unsigned (and somewhere long long) into the cstdint types.

MTA's source code is huuge. So there is a gigantic number of changes
Splitting the PR into multiple PR's with the same changes would bring too much troubles

@Lpsd
Copy link
Member

Lpsd commented Mar 24, 2024

Did you manage to compile these changes successfully on any platform, or have you just done a find and replace then submitted a PR?

@TracerDS
Copy link
Contributor Author

Did you manage to compile these changes successfully on any platform, or have you just done a find and replace then submitted a PR?

Its compiling but Im having some memory violation issues

@TracerDS TracerDS force-pushed the 140324_Refactoring_Part-1 branch 2 times, most recently from 22f9930 to 97025ef Compare May 28, 2024 08:57
Moved repeated `using` (typedef) lines to `SharedUtil.IntTypes.h`;
Changed Color underlying type to `std::uint32_t`;
@TracerDS TracerDS marked this pull request as ready for review May 28, 2024 09:14
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.

None yet

2 participants