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:
@@ -181,7 +181,7 @@ CAST_GENERICDATA_TO(VirtualBond)
|
||||
|
||||
%import <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;
|
||||
%include <openbabel/base.h>
|
||||
%include <openbabel/generic.h>
|
||||
@@ -217,7 +217,7 @@ namespace std { class stringbuf {}; }
|
||||
%include <openbabel/fingerprint.h>
|
||||
%include <openbabel/descriptor.h>
|
||||
|
||||
%# 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 *);
|
||||
#ifdef HAVE_EIGEN
|
||||
@@ -241,13 +241,13 @@ namespace std { class stringbuf {}; }
|
||||
%ignore OpenBabel::Swab;
|
||||
%include <openbabel/rotamer.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