quick sketches of various SWT 3.3 dependencies

This commit is contained in:
Joel Dice
2007-09-11 19:13:05 -06:00
parent 132936ba2e
commit cb03240c64
25 changed files with 340 additions and 37 deletions

View File

@ -9,7 +9,23 @@ public class Runtime {
return instance;
}
public native void loadLibrary(String name);
public void load(String path) {
if (path != null) {
load(path, false);
} else {
throw new NullPointerException();
}
}
public void loadLibrary(String path) {
if (path != null) {
load(path, true);
} else {
throw new NullPointerException();
}
}
private static native void load(String name, boolean mapName);
public native void gc();