Improve interop enums (#341)

* Update build to Kotlin 1.1.0

* Add heuristics and options for selecting C enum interop binding style

Also do some refactoring.

* Add ':Interop:Indexer:updatePrebuilt' Gradle task

* Update Interop/Indexer/prebuilt
This commit is contained in:
SvyatoslavScherbina
2017-03-14 22:52:37 +07:00
committed by Nikolay Igotti
parent ec68a3a24e
commit 2882e6fab7
22 changed files with 630 additions and 505 deletions
-4
View File
@@ -1,9 +1,6 @@
buildscript {
repositories {
mavenCentral()
maven {
url "http://dl.bintray.com/kotlin/kotlin-eap-1.1"
}
}
dependencies {
@@ -135,7 +132,6 @@ List<String> llvmLinkerOpts() {
kotlinNativeInterop {
llvm {
defFile 'llvm.def'
headers files('LlvmHacks.h')
compilerOpts "-fPIC", "-I$llvmDir/include"
linkerOpts llvmLinkerOpts()
}