mirror of
https://github.com/openbabel/openbabel.git
synced 2026-08-10 04:58:04 -05:00
scripts/openbabel-python.i: Revert shared_ptr changes
This reverts part of ce178cbbd3.
This commit is contained in:
committed by
Geoff Hutchison
parent
d4290bf42d
commit
99c1427c75
@@ -6,7 +6,6 @@
|
||||
#define USING_OBDLL
|
||||
#endif
|
||||
|
||||
#include <openbabel/shared_ptr.h>
|
||||
#include <openbabel/obutil.h>
|
||||
#include <openbabel/rand.h>
|
||||
#include <openbabel/math/vector3.h>
|
||||
@@ -73,14 +72,6 @@
|
||||
%include "std_vector.i"
|
||||
%include "std_string.i"
|
||||
%include "std_pair.i"
|
||||
#define SWIG_SHARED_PTR_SUBNAMESPACE tr1
|
||||
%include "std_shared_ptr.i"
|
||||
%shared_ptr(OpenBabel::OBBase)
|
||||
%shared_ptr(OpenBabel::OBMol)
|
||||
%shared_ptr(OpenBabel::OBReaction)
|
||||
%shared_ptr(OpenBabel::OBAtom)
|
||||
%shared_ptr(OpenBabel::OBBond)
|
||||
%shared_ptr(OpenBabel::OBResidue)
|
||||
|
||||
namespace std {
|
||||
|
||||
@@ -225,7 +216,6 @@ CAST_GENERICDATA_TO(SquarePlanarStereo)
|
||||
%ignore *::operator[];
|
||||
|
||||
%import <openbabel/babelconfig.h>
|
||||
%import <openbabel/shared_ptr.h>
|
||||
|
||||
%include <openbabel/data.h>
|
||||
%include <openbabel/rand.h>
|
||||
|
||||
Reference in New Issue
Block a user