2008-10-14 05:48:53 -05:00
|
|
|
#include "hurricane/isobar/PyNetCollection.h"
|
|
|
|
#include "hurricane/isobar/PyNet.h"
|
|
|
|
|
|
|
|
namespace Isobar {
|
|
|
|
|
|
|
|
using namespace Hurricane;
|
|
|
|
|
|
|
|
|
|
|
|
extern "C" {
|
|
|
|
|
|
|
|
|
|
|
|
// x=================================================================x
|
|
|
|
// | "PyNetCollection" Python Module Code Part |
|
|
|
|
// x=================================================================x
|
|
|
|
|
|
|
|
#if defined(__PYTHON_MODULE__)
|
|
|
|
|
|
|
|
|
|
|
|
// x-------------------------------------------------------------x
|
|
|
|
// | "PyNetCollection" Attribute Methods |
|
|
|
|
// x-------------------------------------------------------------x
|
|
|
|
|
|
|
|
|
2008-10-14 13:44:20 -05:00
|
|
|
DirectDeleteMethod(PyNetCollection_DeAlloc, PyNetCollection)
|
2008-10-14 05:48:53 -05:00
|
|
|
|
2008-10-17 12:51:31 -05:00
|
|
|
|
|
|
|
LocatorNextMethod(Net)
|
|
|
|
CollectionMethods(Net)
|
|
|
|
|
|
|
|
|
2008-10-14 05:48:53 -05:00
|
|
|
|
|
|
|
|
|
|
|
#else // End of Python Module Code Part.
|
|
|
|
|
|
|
|
|
|
|
|
// x=================================================================x
|
|
|
|
// | "PyNetCollection" Shared Library Code Part |
|
|
|
|
// x=================================================================x
|
|
|
|
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------
|
|
|
|
// PyNetCollection Object Definitions.
|
|
|
|
|
2008-10-17 12:27:20 -05:00
|
|
|
PyTypeCollectionObjectDefinitions(NetCollection)
|
|
|
|
PyTypeCollectionObjectDefinitions(NetCollectionLocator)
|
2008-10-14 05:48:53 -05:00
|
|
|
|
|
|
|
#endif // End of Shared Library Code Part.
|
|
|
|
|
|
|
|
|
|
|
|
} // End of extern "C".
|
|
|
|
|
|
|
|
} // End of Isobar namespace.
|