Jump to content
  • Advertisement
Sign in to follow this  

Unity Why declare in reversed order for _WIN64?

This topic is 5011 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Again, MS can afford to do this because there are no existing apps for Win64; they all need to be recompiled anyway. The chance is now there; that they're using it and cleaning up stuff like this is a good thing :)

I agree that direct offsets are evil, but every so often one sees reasonable uses in low-level code (e.g. messing around with undocumented structures where you don't have proper member names). One further reason that the no-reorder guarantee is important: we'd otherwise have even more interop problems with file header structs etc.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!