This repository has been archived by the owner on Aug 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 569
interop with package name failed #490
Comments
I believe dots in function names are not allowed by C compiler:
|
@vvlevchenko |
If the plugin generates invalid c codes, I don't think it's a good choice to close this issue at this moment. Any comments on this? |
We will ensure issue will get fixed. |
I have found out that the generator tries to replace the "/" with "" in pkg, while the format of the pkg should be "x.y.z", so just replace the "." with "" may solve the problem. |
SvyatoslavScherbina
pushed a commit
that referenced
this issue
Apr 17, 2017
…e should replace "." with "_" instead of "/". Related Issue: #490
This should be fixed by now. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, I tried konan with a interop config like this:
while generating the cstubs, error occurred:
The referred file "cnkotlinerstubs.c":
Maybe the generated cstubs name should avoid using the package name or just replace '.' with '_' as jni does.
The text was updated successfully, but these errors were encountered: