+InterfaceBlock::InterfaceBlock(const InterfaceBlock &other):
+ interface(other.interface),
+ name(other.name),
+ members(other.members),
+ instance_name(other.instance_name),
+ array(other.array),
+ linked_block(0)
+{ }
+
+InterfaceBlock::~InterfaceBlock()
+{
+ if(linked_block && linked_block->linked_block==this)
+ linked_block->linked_block = 0;
+}
+