Introduce expect KFunction in common

This commit is contained in:
Ilya Gorbunov
2019-12-25 02:50:24 +03:00
parent 427e34fe5a
commit d87fb0ece0
2 changed files with 12 additions and 1 deletions
@@ -8,7 +8,7 @@ package kotlin.reflect
/**
* Represents a function with introspection capabilities.
*/
public interface KFunction<out R> : KCallable<R>, Function<R> {
public actual interface KFunction<out R> : KCallable<R>, Function<R> {
/**
* `true` if this function is `inline`.
* See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/inline-functions.html)
@@ -0,0 +1,11 @@
/*
* Copyright 2010-2018 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package kotlin.reflect
/**
* Represents a function with introspection capabilities.
*/
public expect interface KFunction<out R> : KCallable<R>, Function<R>