Skip to content

Instantly share code, notes, and snippets.

@antoniogarrote
Created April 22, 2011 12:57
Show Gist options
  • Save antoniogarrote/936606 to your computer and use it in GitHub Desktop.
Save antoniogarrote/936606 to your computer and use it in GitHub Desktop.
pstDelIn = (PTMX_DEL_IN)&pCMMIda->stDelIn;
pstDelOut = (PTMX_DEL_OUT)&pCMMIda->stDelOut;
strcpy(pCMMIda->stDelIn.stTmDel.szSource, pstExtOut->stTmExt.szSource );
strcpy(pCMMIda->stDelIn.stTmDel.szTarget, pstExtOut->stTmExt.szTarget );
strcpy(pCMMIda->stDelIn.stTmDel.szSourceLanguage, pCMMIda->szSourceLng);
strcpy(pCMMIda->stDelIn.stTmDel.szTargetLanguage, pstExtOut->stTmExt.szTargetLanguage );
pCMMIda->stDelIn.stTmDel.fMachineTranslation = pstExtOut->stTmExt.fMachineTranslation;
strcpy(pCMMIda->stDelIn.stTmDel.szFileName, pstExtOut->stTmExt.szFileName );
strcpy(pCMMIda->stDelIn.stTmDel.szLongName, pstExtOut->stTmExt.szLongName );
pCMMIda->stDelIn.stTmDel.usSourceSegmentId = pstExtOut->stTmExt.usSourceSegmentId;
strcpy(pCMMIda->stDelIn.stTmDel.szTagTable, pstExtOut->stTmExt.szTagTable );
pCMMIda->stDelIn.stTmDel.lTime = pstExtOut->stTmExt.lTargetTime;
pstPutIn = (PTMX_PUT_IN)&pCMMIda->stPutIn;
pstPutOut = (PTMX_PUT_OUT)&pCMMIda->stPutOut;
strcpy(pCMMIda->stPutIn.stTmPut.szSource, pstExtOut->stTmExt.szSource );
strcpy(pCMMIda->stPutIn.stTmPut.szTarget, pstExtOut->stTmExt.szTarget );
strcpy(pCMMIda->stPutIn.stTmPut.szSourceLanguage, pCMMIda->szSourceLng);
strcpy(pCMMIda->stPutIn.stTmPut.szTargetLanguage, pstExtOut->stTmExt.szTargetLanguage );
pCMMIda->stPutIn.stTmPut.fMachineTranslation = fMachineTrans;
strcpy(pCMMIda->stPutIn.stTmPut.szFileName, pstExtOut->stTmExt.szFileName );
strcpy(pCMMIda->stPutIn.stTmPut.szLongName, pstExtOut->stTmExt.szLongName );
pCMMIda->stPutIn.stTmPut.usSourceSegmentId = pstExtOut->stTmExt.usSourceSegmentId;
strcpy(pCMMIda->stPutIn.stTmPut.szTagTable, pstExtOut->stTmExt.szTagTable );
pCMMIda->stPutIn.stTmPut.lTime = pstExtOut->stTmExt.lTargetTime;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment