Revision 970 trunk/libraries/libjni-gdal/src/es/gva/cit/jogr/JNIBase.java

View differences:

JNIBase.java
44 44
	private native int getLayerCountNat(long cPtr);
45 45
	private native int getFeatureCountNat(long cPtr);
46 46
	private native int getFieldCountNat(long cPtr);
47
	private native int getWidthNat(long cPtr);
48
	private native int getPrecisionNat(long cPtr);
47 49
	
48 50
	
49 51
	 /**
......
66 68
			case 1: res = getLayerCountNat(cPtr);break;
67 69
			case 2: res = getFeatureCountNat(cPtr);break;
68 70
			case 3: res = getFieldCountNat(cPtr);break;
71
			case 4: res = getWidthNat(cPtr);break;
72
			case 5: res = getPrecisionNat(cPtr);break;
69 73
		}
70 74
			
71 75
		if(res<0)
......
92 96
				
93 97
	}
94 98
	
99
	/**
100
	 * Obtiene el puntero a C del objeto
101
	 * @param cPtr	long con la direcci?n de memoria del objeto 
102
	 */
103
	
104
	public long getPtro(){
105
		return cPtr;
106
	}
107
	
95 108
	static{
96 109
		
97 110
		System.loadLibrary("jgdal");

Also available in: Unified diff