mirror of
https://github.com/openbabel/openbabel.git
synced 2026-08-27 05:37:38 -05:00
Fix comment symbol in swig interfaces
This commit is contained in:
+10
-10
@@ -233,7 +233,7 @@ CAST_GENERICDATA_TO(VirtualBond)
|
||||
%warnfilter(516) OpenBabel::SpaceGroup; // Ignoring std::string methods in favour of char* ones
|
||||
%include <openbabel/math/spacegroup.h>
|
||||
|
||||
# CloneData should be used instead of the following method
|
||||
// CloneData should be used instead of the following method
|
||||
%ignore OpenBabel::OBBase::SetData;
|
||||
%ignore OpenBabel::OBBase::GetData(char const *);
|
||||
%ignore OpenBabel::OBBase::HasData(char const *);
|
||||
@@ -313,7 +313,7 @@ IGNORE_ITER(OBMol, Residue)
|
||||
%ignore OpenBabel::OBForceField::DiverseConfGen;
|
||||
#endif
|
||||
|
||||
# Ignore shadowed methods
|
||||
// Ignore shadowed methods
|
||||
%ignore OpenBabel::OBForceField::VectorSubtract(const double *const, const double *const, double *);
|
||||
%ignore OpenBabel::OBForceField::VectorMultiply(const double *const, const double, double *);
|
||||
%warnfilter(516) OpenBabel::OBForceField; // Ignoring std::string methods in favour of char* ones
|
||||
@@ -331,20 +331,20 @@ IGNORE_ITER(OBMol, Residue)
|
||||
|
||||
%warnfilter(503) OpenBabel::OBBitVec; // Not wrapping any of the overloaded operators
|
||||
%include <openbabel/bitvec.h>
|
||||
# Ignore shadowed method
|
||||
// Ignore shadowed method
|
||||
%ignore OpenBabel::OBRotor::GetRotAtoms() const;
|
||||
%include <openbabel/rotor.h>
|
||||
%ignore OpenBabel::Swab;
|
||||
%include <openbabel/rotamer.h>
|
||||
%include <openbabel/spectrophore.h>
|
||||
|
||||
# The following %ignores avoid warning messages due to shadowed classes.
|
||||
# This does not imply a loss of functionality as (in this case)
|
||||
# the shadowed class is identical (from the point of view of SWIG) to
|
||||
# the shadowing class.
|
||||
# This is because C++ references (&) are transformed by SWIG back into
|
||||
# pointers, so that OBAtomIter(OBMol &) would be treated the same as
|
||||
# OBAtomIter(OBMol *).
|
||||
// The following %ignores avoid warning messages due to shadowed classes.
|
||||
// This does not imply a loss of functionality as (in this case)
|
||||
// the shadowed class is identical (from the point of view of SWIG) to
|
||||
// the shadowing class.
|
||||
// This is because C++ references (&) are transformed by SWIG back into
|
||||
// pointers, so that OBAtomIter(OBMol &) would be treated the same as
|
||||
// OBAtomIter(OBMol *).
|
||||
|
||||
%ignore OBAtomAtomIter(OBAtom &);
|
||||
%ignore OBAtomBondIter(OBAtom &);
|
||||
|
||||
Reference in New Issue
Block a user