Updated with automated Java generation and SWIG 1.3.30.

This commit is contained in:
Geoffrey Hutchison
2006-11-06 17:44:10 +00:00
parent f3e581955f
commit 3e4bd6ae3c
125 changed files with 7718 additions and 4673 deletions
+10 -10
View File
@@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 1.3.29
* Version 1.3.30
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
@@ -24,7 +24,7 @@ public class vectorMol {
delete();
}
public void delete() {
public synchronized void delete() {
if(swigCPtr != 0 && swigCMemOwn) {
swigCMemOwn = false;
net.sourceforge.openbabelJNI.delete_vectorMol(swigCPtr);
@@ -41,35 +41,35 @@ public class vectorMol {
}
public long size() {
return net.sourceforge.openbabelJNI.vectorMol_size(swigCPtr);
return net.sourceforge.openbabelJNI.vectorMol_size(swigCPtr, this);
}
public long capacity() {
return net.sourceforge.openbabelJNI.vectorMol_capacity(swigCPtr);
return net.sourceforge.openbabelJNI.vectorMol_capacity(swigCPtr, this);
}
public void reserve(long n) {
net.sourceforge.openbabelJNI.vectorMol_reserve(swigCPtr, n);
net.sourceforge.openbabelJNI.vectorMol_reserve(swigCPtr, this, n);
}
public boolean isEmpty() {
return net.sourceforge.openbabelJNI.vectorMol_isEmpty(swigCPtr);
return net.sourceforge.openbabelJNI.vectorMol_isEmpty(swigCPtr, this);
}
public void clear() {
net.sourceforge.openbabelJNI.vectorMol_clear(swigCPtr);
net.sourceforge.openbabelJNI.vectorMol_clear(swigCPtr, this);
}
public void add(OBMol x) {
net.sourceforge.openbabelJNI.vectorMol_add(swigCPtr, OBMol.getCPtr(x));
net.sourceforge.openbabelJNI.vectorMol_add(swigCPtr, this, OBMol.getCPtr(x), x);
}
public OBMol get(int i) {
return new OBMol(net.sourceforge.openbabelJNI.vectorMol_get(swigCPtr, i), false);
return new OBMol(net.sourceforge.openbabelJNI.vectorMol_get(swigCPtr, this, i), false);
}
public void set(int i, OBMol x) {
net.sourceforge.openbabelJNI.vectorMol_set(swigCPtr, i, OBMol.getCPtr(x));
net.sourceforge.openbabelJNI.vectorMol_set(swigCPtr, this, i, OBMol.getCPtr(x), x);
}
}