Repository navigation
docs: how the IDL and xgameruntime-docs layouts of the runtime classes compare - #3670
Merged
Merged
Conversation
…s compare The Wine-derived IDL matches xgameruntime-docs exactly where the docs list no unknown slot (XGameSave, XGame, XStore), keeps one unknown as __PADDING__ (XError), and drops others (XUser slot 15, XDisplay slot 3), which shifts every later method. Note it next to the measured layout table, so a layout taken from the IDL is checked against the docs' slot count first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 22, 2026
|
Reviewed on Linux: docs-only paragraph; it is consistent with the slot table above it (which follows the docs' layout, unknown slots included), and the "take a layout from the IDL only where it matches the docs' slot count" rule is the right conservative read given the docs are the measured source here. The class-by-class IDL comparison itself is external to this repo. AI-assisted: yes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claim: #3574 (comment)
Docs only. Several open runtime-class PRs take their slot layouts from one of two sources: xgameruntime-docs (#3363, #3471, #3476, #3550) or the LGPL Wine IDL in xodus-gaming/xgameruntime's
include/*.idl(#3408, #3505). I compared the two, class by class:_unknown_slotsXGameSaveImpl(30 methods),XGameImpl(3),XStoreImpl(81)XErrorImplXErrorReportfrom XCurl)HRESULT __PADDING__(), so it lines upXUserImplXDisplayImplSo the IDL sometimes drops a slot nobody has named, and every method after it then sits one slot early. The paragraph added to
docs/runtime_imports.md, next to the measured layout table, says to take an IDL layout only where it matches the docs' slot count. I've noted the same on #3363, #3471 and #3476, and corrected my own earlier comments on #3471 and #3476, which had leaned on the IDL.Tested:
pytest tests/test_docs_links.py5 passed. The comparison is a script over the two public sources; nothing from the package is involved.AI-assisted (Claude Code).
🤖 Generated with Claude Code