blob: 0d6c47be46189f9e29a52e88a32ad418d40ad4e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package xtract.core;
public abstract class SWIG {
protected abstract long getPointer();
public boolean equals(Object obj) {
boolean equal = false;
if (obj instanceof SWIG)
equal = (((SWIG)obj).getPointer() == this.getPointer());
return equal;
}
public SWIGTYPE_p_void getVoidPointer() {
return new SWIGTYPE_p_void(getPointer(), false);
}
}
|