]> git.pld-linux.org Git - packages/openbabel.git/blob - swig-java.patch
- release 2 (by relup.sh)
[packages/openbabel.git] / swig-java.patch
1 --- openbabel-2.3.90/scripts/openbabel-java.i.orig      2015-09-22 12:38:01.000000000 +0200
2 +++ openbabel-2.3.90/scripts/openbabel-java.i   2015-11-16 19:43:52.950908988 +0100
3 @@ -233,7 +233,6 @@
4  %warnfilter(516) OpenBabel::SpaceGroup; // Ignoring std::string methods in favour of char* ones
5  %include <openbabel/math/spacegroup.h>
6  
7 -# CloneData should be used instead of the following method
8  %ignore OpenBabel::OBBase::SetData;
9  %ignore OpenBabel::OBBase::GetData(char const *);
10  %ignore OpenBabel::OBBase::HasData(char const *);
11 @@ -313,7 +312,6 @@
12  %ignore OpenBabel::OBForceField::DiverseConfGen;
13  #endif
14  
15 -# Ignore shadowed methods
16  %ignore OpenBabel::OBForceField::VectorSubtract(const double *const, const double *const, double *);
17  %ignore OpenBabel::OBForceField::VectorMultiply(const double *const, const double, double *);
18  %warnfilter(516) OpenBabel::OBForceField; // Ignoring std::string methods in favour of char* ones
19 @@ -331,21 +329,12 @@
20  
21  %warnfilter(503) OpenBabel::OBBitVec; // Not wrapping any of the overloaded operators
22  %include <openbabel/bitvec.h>
23 -# Ignore shadowed method
24  %ignore OpenBabel::OBRotor::GetRotAtoms() const;
25  %include <openbabel/rotor.h>
26  %ignore OpenBabel::Swab;
27  %include <openbabel/rotamer.h>
28  %include <openbabel/spectrophore.h>
29  
30 -# The following %ignores avoid warning messages due to shadowed classes.
31 -# This does not imply a loss of functionality as (in this case)
32 -# the shadowed class is identical (from the point of view of SWIG) to
33 -# the shadowing class.
34 -# This is because C++ references (&) are transformed by SWIG back into
35 -# pointers, so that OBAtomIter(OBMol &) would be treated the same as
36 -# OBAtomIter(OBMol *).
37 -
38  %ignore OBAtomAtomIter(OBAtom &);
39  %ignore OBAtomBondIter(OBAtom &);
40  %ignore OBMolAngleIter(OBMol &);
This page took 0.139173 seconds and 3 git commands to generate.