Skip to content

Move reflection documentation from devdocs to base#47800

Merged
LilithHafner merged 2 commits intomasterfrom
lh/move-reflection-md
May 27, 2023
Merged

Move reflection documentation from devdocs to base#47800
LilithHafner merged 2 commits intomasterfrom
lh/move-reflection-md

Conversation

@LilithHafner
Copy link
Copy Markdown
Member

I chose to put it right before "C Interface" because of this section:

The internal representation of a DataType is critically important when interfacing with C code and several functions are available to inspect these details. isbitstype(T::DataType) returns true if T is stored with C-compatible alignment. fieldoffset(T::DataType, i::Integer) returns the (byte) offset for field i relative to the start of the type.

From #47798; cc @logankilpatrick

@LilithHafner LilithHafner added the docs This change adds or pertains to documentation label Dec 5, 2022
@ViralBShah
Copy link
Copy Markdown
Member

This seems reasonable to me. Let's see what others have to say.

@LilithHafner
Copy link
Copy Markdown
Member Author

If nobody objects, I'll merge this in a few days.

@LilithHafner LilithHafner merged commit e727afb into master May 27, 2023
@LilithHafner LilithHafner deleted the lh/move-reflection-md branch May 27, 2023 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs This change adds or pertains to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants