| 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; |
| 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 |