or something similar I can use for controlling the name of an exported Kotlin function in a DLL?
I have to create a DLL with a particular entrypoint function name (loaded by name, by a third-party application) and currently the only solution I can think of is to create a wrapper C file like:
Copy code
__declspec(dllexport) int Entrypoint(_args) {
kotlinmain(_args)
}
j
JoakimForslund
04/12/2021, 1:40 PM
Does it have to added to the export table? Else for just creating a symbol and is callable externally