-
Notifications
You must be signed in to change notification settings - Fork 5.1k
[cDAC] Rename datadescriptor.h -> datadescriptor.inc #118067
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
[cDAC] Rename datadescriptor.h -> datadescriptor.inc #118067
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR renames the header file datadescriptor.h
to datadescriptor.inl
as part of preparation for future work enabling multiple contracts. The change is purely a file rename with corresponding include statement updates.
- Updates all include statements from
datadescriptor.h
todatadescriptor.inl
f89199e
to
44074eb
Compare
Tagging subscribers to this area: @steveisok, @dotnet/dotnet-diag |
@dotnet/samsung Could you please take a look? These changes may be related to riscv64. |
|
I agree this isn't the best naming scheme. In order to reuse the datadescriptor mechanisms, I need to separate out the datadescriptor defines (which are imported multiple times) and the required includes. Would you prefer keeping the datadescriptor defines in |
To highlight that the file included multiple times is not an ordinary header file, I would use (We also have a few places where we just use .h that's mildly confusing. For example, we do that here and here. metasig.h is the file included multiple times in this case.) |
For stitching of multiple data contracts together (I assume that you need it for the GC), it may be useful to start with a spec edit (https://github.com/dotnet/runtime/blob/main/docs/design/datacontracts/datacontracts_design.md and linked docs) and agree on the details before you are done with the implementation. |
44074eb
to
6010ab0
Compare
Renames
datadescriptor.h
todatadescriptor.inl
for upcoming PR allowing multiple contracts.In the future
datadescriptor.h
will be included once for the actual#include
s required by the datadescriptors anddatadescriptor.inl
will be included multiple times for processing.