CScriptPostPackJob::CScriptPostPackJob(const char* strType, size_t stTypeSize, const char* vecBuf, size_t stBufSize, CScriptThread* pThread) : m_stTypeSize(stTypeSize) , m_stBufSize(stBufSize) , m_pScript(pThread->GetScript()) { m_pBuffer = CloneData(vecBuf, m_stBufSize, pThread); m_szType = (char*)(CloneData(strType, m_stTypeSize, pThread)); }
MCCdata::MCCdata(const MCCdata &cref) : MCDLlist(cref) { // Ensure that the paragraphs of the cloned data have their parent field // set to nil - this will catch attempts to use them without properly // setting the parent first. CloneData(cref, nil); }
Matrix& Matrix::operator = (const Matrix& mm) { if(&mm != this) { CloneData(mm); } return *this; }
CPipeNewDataReceivedResult::CPipeNewDataReceivedResult(int32 nPipeId,uint32 uSessionID,const char* pData, uint32 uDataSize, CPipeThread* pThread) : CPipeResult(nPipeId, uSessionID) { m_pData = CloneData(pData, uDataSize, pThread); m_uRecvDataSize = uDataSize; }
Matrix::Matrix(const Matrix& mm) { CloneData(mm); }
MCCdata::MCCdata(const MCCdata& cref, MCField* p_new_owner) : MCDLlist(cref) { CloneData(cref, p_new_owner); }