Skip to content

Conversation

@rintaro
Copy link
Member

@rintaro rintaro commented Jun 5, 2025

It was weird "the lowered signature" being the owner of the API kind information, and it was only used for rendering.
Move it to ImportedFunc and pass it to LoweredFunctionSignature.cdeclThunk() API.

@rintaro rintaro force-pushed the jextract-importeddecl-apikind branch from cd87411 to a6b18d8 Compare June 5, 2025 19:58
@rintaro rintaro changed the title [JExtract] Move 'apiKind' property to 'ImportedDecl' [JExtract] Move 'apiKind' property to 'ImportedFunc' Jun 5, 2025
@rintaro rintaro force-pushed the jextract-importeddecl-apikind branch 2 times, most recently from 4b575e7 to 07e507f Compare June 5, 2025 20:41
It was weird "the lowered signature" being the owner of the API kind
information, and it was only used for rendering.
Move it to `ImportedFunc` and pass it to
`LoweredFunctionSignature.cdeclThunk()` API.
@rintaro rintaro force-pushed the jextract-importeddecl-apikind branch from 07e507f to 72bf28f Compare June 5, 2025 20:43
@rintaro rintaro requested a review from ktoso June 5, 2025 21:10
@ktoso ktoso merged commit b140fb2 into swiftlang:main Jun 6, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants