JniExpect

Indicates that a function is expected to have its implementation provided through JNI.

May be applied to Kotlin external functions and properties. Applying both to getter/setter and property itself makes no effect.

Parameters

targets

The consumer plugin will check that every JniExpect has its JniActual pair, even if the annotatee will be used only on one platform. This param allows to shrink the search field to the specified target names (e.g. "mingwX64"). An empty list (the default) means all targets. This rule will be applied to all declarations

Properties

Link copied to clipboard
val targets: Array<out String>