diff options
Diffstat (limited to 'plugin/src/sbt-test/sbt-jni/simple/core/src/main/scala/simple/Library.scala')
-rw-r--r-- | plugin/src/sbt-test/sbt-jni/simple/core/src/main/scala/simple/Library.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plugin/src/sbt-test/sbt-jni/simple/core/src/main/scala/simple/Library.scala b/plugin/src/sbt-test/sbt-jni/simple/core/src/main/scala/simple/Library.scala new file mode 100644 index 0000000..785f8dd --- /dev/null +++ b/plugin/src/sbt-test/sbt-jni/simple/core/src/main/scala/simple/Library.scala @@ -0,0 +1,10 @@ +package simple + +import ch.jodersky.jni.nativeLoader + +@nativeLoader("demo0") +object Library { + + @native def say(message: String): Int + +} |