Introduce expect KFunction in common
This commit is contained in:
@@ -8,7 +8,7 @@ package kotlin.reflect
|
|||||||
/**
|
/**
|
||||||
* Represents a function with introspection capabilities.
|
* 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`.
|
* `true` if this function is `inline`.
|
||||||
* See the [Kotlin language documentation](https://kotlinlang.org/docs/reference/inline-functions.html)
|
* 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>
|
||||||
Reference in New Issue
Block a user