ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/openbabel/parsmart.hpp
(Generate patch)

Comparing trunk/src/openbabel/parsmart.hpp (file contents):
Revision 741 by tim, Wed Nov 16 19:42:11 2005 UTC vs.
Revision 1081 by gezelter, Thu Oct 19 20:49:05 2006 UTC

# Line 57 | Line 57 | namespace OpenBabel
57   namespace OpenBabel
58   {
59  
60 +  // mark this so that SWIG will not attempt to wrap for scripting languages
61 +
62 + #ifndef SWIG
63 +
64   //! \brief A SMARTS parser internal atomic expression
65   typedef union _AtomExpr {
66      int type;
# Line 164 | Line 168 | Pattern;
168      int parts;
169   }
170   Pattern;
171 + #else
172 + // for SWIG, just forward declare that we have some Pattern struct
173 + // (but this is private and not wrapped for scripting languages)
174 + struct Pattern;
175 + #endif
176  
177   // class introduction in parsmart.cpp
178   //! \brief SMARTS (SMiles ARbitrary Target Specification) substructure searching

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines