diff graal/com.oracle.graal.api.code/src/com/oracle/graal/api/code/NativeLibraryHandle.java @ 13898:d6e2511cea77

added NativeLibraryHandle.getName()
author Doug Simon <doug.simon@oracle.com>
date Thu, 06 Feb 2014 21:41:33 +0100
parents 4731c1a0b1f3
children
line wrap: on
line diff
--- a/graal/com.oracle.graal.api.code/src/com/oracle/graal/api/code/NativeLibraryHandle.java	Thu Feb 06 18:50:47 2014 +0100
+++ b/graal/com.oracle.graal.api.code/src/com/oracle/graal/api/code/NativeLibraryHandle.java	Thu Feb 06 21:41:33 2014 +0100
@@ -29,4 +29,9 @@
  * {@linkplain NativeFunctionInterface#getFunctionPointer(NativeLibraryHandle[], String) pointer}.
  */
 public interface NativeLibraryHandle {
+    /**
+     * Gets a name for this library. This may be the path for the file from which the library was
+     * loaded.
+     */
+    String getName();
 }