Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

Allow export of kotlin stdlib headers #3766

Closed
PatrickZGW opened this issue Jan 20, 2020 · 1 comment
Closed

Allow export of kotlin stdlib headers #3766

PatrickZGW opened this issue Jan 20, 2020 · 1 comment

Comments

@PatrickZGW
Copy link

I have a Kotlin Multiplatform library that should be callable from other languages like C, C++, C#, Python, etc.

If I export the project as a sharedLib however, the Kotlin stdlib headers are not exported. That means that If there's a function that has as a return type an object from the stdlib like HashMap, I can't call any functions on it.

Is there a way to export the headers for the stdlib as well or is there only the workaround of not using those return types / creating the functions we need manually?

@vvlevchenko
Copy link
Contributor

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants