Refresh interop docs. (#2130)

This commit is contained in:
Nikolay Igotti
2018-09-25 15:55:45 +03:00
committed by GitHub
parent 5acd49215b
commit 9b2a03b6cd
2 changed files with 91 additions and 38 deletions
+4 -3
View File
@@ -1,8 +1,9 @@
### Q: How do I run my program?
A: Define a top level function `fun main(args: Array<String>)`, please ensure it's not
in a package. Also compiler switch `-entry` could be used to make any function taking
`Array<String>` and return `Unit` as an entry point.
A: Define a top level function `fun main(args: Array<String>)` or just `fun main()` if you are not interested
in passed arguments, please ensure it's not in a package.
Also compiler switch `-entry` could be used to make any function taking `Array<String>` or no arguments
and return `Unit` as an entry point.
### Q: What is Kotlin/Native memory management model?