Skip to content

Fixes for #251 - #254

Merged
embray merged 3 commits into
asdf-format:mainfrom
embray:issue-251
Sep 9, 2026
Merged

Fixes for #251#254
embray merged 3 commits into
asdf-format:mainfrom
embray:issue-251

Conversation

@embray

@embray embray commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

Description

Alternative approach to #252. Mostly the same but with my own spin.

AI Disclosure

No AI tools used.

The former is simply wrong on LLP64 targets, while the latter is
equivalent on both LP64 and LLP64 targets.  Adapted from PR asdf-format#252
submitted by @cruzzil.
@embray
embray force-pushed the issue-251 branch 3 times, most recently from e504f46 to 7d17358 Compare September 8, 2026 10:09
Adapted from PR asdf-format#252 by @cruzzil, but instead of using ptrdiff_t simply
define a semantically meaningful asdf_depth_t typedef simply as int64_t
which should be safe ABI-wise.
@embray

embray commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator Author

@cruzzil does this work for you? It’s basically the same as your #252 just with slight rewording.

@cruzzil

cruzzil commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Looks good, and agree your custom type is probably better for flexibility.

@embray
embray merged commit cff7ab0 into asdf-format:main Sep 9, 2026
12 checks passed
@embray
embray deleted the issue-251 branch September 9, 2026 11:49
@embray embray added this to the v0.2 milestone Sep 9, 2026
@embray embray added the bug Something isn't working label Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants