Skip to content

Please bring back decimal format for memory layout numbers #14928

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

Closed
KSXGitHub opened this issue May 30, 2023 · 1 comment
Closed

Please bring back decimal format for memory layout numbers #14928

KSXGitHub opened this issue May 30, 2023 · 1 comment
Labels
C-feature Category: feature request

Comments

@KSXGitHub
Copy link

KSXGitHub commented May 30, 2023

When I hover my mouse over a type definition of a non-generic type, the following text appear:

// size = 0xC8, align = 0x8

The problem is, I don't understand how much is 0xC8 without typing it to a calculator.

Suggestion

The enum variants show both, so should the memory layout numbers:

// size = 200 (0xC8), align = 8 (0x8)
@KSXGitHub KSXGitHub added the C-feature Category: feature request label May 30, 2023
@KSXGitHub KSXGitHub changed the title Please revert memory layout numbers from hexadecimal back to decimal format Please bring back decimal format for memory layout numbers May 30, 2023
@lnicola
Copy link
Member

lnicola commented May 30, 2023

Dupe of #14918.

@lnicola lnicola closed this as completed May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature Category: feature request
Projects
None yet
Development

No branches or pull requests

2 participants