rem: template <class Type> status_t Attach(Type data)
add: status_t PortLink::Attach(int8 data) { #ifdef PLDEBUG printf("Attach(%d)\n",data); #endif  if(num_attachments>=_PORTLINK_MAX_ATTACHMENTS) return B_ERROR;  int32 size=sizeof(int8);  #ifdef CAPACITY_CHECKING if(bufferlength+size>capacity) return B_NO_MEMORY; #endif   PortLinkData *pld=new PortLinkData; if(pld->Set(&data,size)==B_OK)
context: 	template <class Type> status_t Attach(Type data)	{		int32 size	= sizeof(Type);		if (4096 - fSendPosition > size){			memcpy(fSendBuffer + fSendPosition, &data, size);			fSendPosition += size;			return B_OK;		}		return B_NO_MEMORY;	}