coriolis/hurricane/src/isobar/PySegmentCollection.cpp

53 lines
1.3 KiB
C++
Raw Normal View History

2008-10-19 17:07:32 -05:00
#include "hurricane/isobar/PySegmentCollection.h"
#include "hurricane/isobar/PySegment.h"
namespace Isobar {
using namespace Hurricane;
extern "C" {
// x=================================================================x
// | "PySegmentCollection" Python Module Code Part |
// x=================================================================x
#if defined(__PYTHON_MODULE__)
// x-------------------------------------------------------------x
// | "PySegmentCollection" Attribute Methods |
// x-------------------------------------------------------------x
DirectDeleteMethod(PySegmentCollection_DeAlloc, PySegmentCollection)
EntityLocatorNextMethod(Segment)
CollectionMethods(Segment)
#else // End of Python Module Code Part.
// x=================================================================x
// | "PySegmentCollection" Shared Library Code Part |
// x=================================================================x
// ---------------------------------------------------------------
// PySegmentCollection Object Definitions.
PyTypeCollectionObjectDefinitions(SegmentCollection)
PyTypeCollectionObjectDefinitions(SegmentCollectionLocator)
#endif // End of Shared Library Code Part.
} // End of extern "C".
} // End of Isobar namespace.