Skip to content

make internal FTSInfo take CInt - #3586

Merged
Lukasa merged 1 commit into
apple:mainfrom
weissi:jw-intuint
May 5, 2026
Merged

Lukasa merged 1 commit into
apple:mainfrom
weissi:jw-intuint

Conversation

@weissi

@weissi weissi commented May 5, 2026

Copy link
Copy Markdown
Member

Motivation:

Internally, FTSInfo always casted up to CInt from UInt16 but for some reason it only accepted UInt16. Let's add a CInt constructor too.

Modifications:

  • Make internal FTSInfo constructible from CInt and UInt16.

Result:

  • Slightly better platform compatibility
  • Possibly fewer casts

@Lukasa Lukasa added the πŸ”¨ semver/patch No public API change. label May 5, 2026
@Lukasa
Lukasa enabled auto-merge (squash) May 5, 2026 14:59
@Lukasa
Lukasa merged commit 1c8b29c into apple:main May 5, 2026
51 of 55 checks passed
@weissi
weissi deleted the jw-intuint branch May 5, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

πŸ”¨ semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants