polypacket/templates/cpp_header_template.h
void clean()
    {
      //If the packet has been spooled, the spool is responsible for it now
      if(mPacket.mBuilt && (!mPacket.mSpooled))
      {
        poly_packet_clean(&mPacket);
      }

      mPacket.mBuilt = false;
    }
/**
      *@brief frees memory allocated for metapacket
      *@param packet ptr to metaPacket
      *
      */
@brief frees memory allocated for metapacket
@param packet ptr to metaPacket
@brief frees memory allocated for metapacket @param packet ptr to metaPacket
void clean()
    {
      if(mPacket.mBuilt && (!mPacket.mSpooled))
      {
        poly_packet_clean(&mPacket);
      }
      mPacket.mBuilt = false;
    }
void clean ( ) { if ( mPacket . mBuilt && ( ! mPacket . mSpooled ) ) { poly_packet_clean ( & mPacket ) ; } mPacket . mBuilt = false ; }
@brief frees memory allocated for metapacket
@param packet ptr to metaPacket
@brief frees memory allocated for metapacket @param packet ptr to metaPacket
//If the packet has been spooled, the spool is responsible for it now
