Revision 10988 branches/v10/libraries/libjni-gdal/src/es/gva/cit/jgdal/JNIBase.java
JNIBase.java | ||
---|---|---|
89 | 89 |
protected int baseSimpleFunctions(int n,String msg1,String msg2)throws GdalException{ |
90 | 90 |
|
91 | 91 |
int res = 0; |
92 |
if(cPtr <= 0) |
|
93 |
throw new GdalException(msg1); |
|
94 | 92 |
|
95 | 93 |
switch(n){ |
96 | 94 |
case 0: res = getRasterBandXSizeNat(cPtr);break; |
... | ... | |
115 | 113 |
static{ |
116 | 114 |
String os = System.getProperty("os.name"); |
117 | 115 |
if(os.toLowerCase().startsWith("windows")) |
118 |
System.loadLibrary("jgdal060");
|
|
116 |
System.loadLibrary("jgdal061");
|
|
119 | 117 |
else |
120 | 118 |
System.loadLibrary("jgdal"); |
121 | 119 |
|
Also available in: Unified diff