added 64-bit library
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@11980 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
parent
c01172f6fb
commit
97a8ab2c61
Binary file not shown.
|
@ -1,6 +1,7 @@
|
|||
object Test {
|
||||
//println("java.library.path=" + System.getProperty("java.library.path"))
|
||||
System.loadLibrary("natives")
|
||||
val model = System.getProperty("sun.arch.data.model", "32")
|
||||
System.loadLibrary("natives-" + model)
|
||||
|
||||
@native
|
||||
def sayHello(s: String): String = null
|
||||
|
|
Loading…
Reference in New Issue