FDK/Tools/Programs/public/lib/source/cffwrite/cffwrite_t2cstr.c
/* Save op code in tmp file. */
Save op code in tmp file.
Save op code in tmp file .
static void tmp_saveop(cfwCtx g, int op)
	{
	unsigned char t[2];
	size_t count;
	if (op & 0xff00)
		{
		t[0] = tx_escape;
		t[1] = (unsigned char)op;
		count = 2;
		}
	else
		{
		t[0] = (unsigned char)op;
		count = 1;
		}
	if (g->cb.stm.write(&g->cb.stm, g->stm.tmp, count, (char *)t) == 0)
		g->err.code = cfwErrTmpStream;
	}
static void tmp_saveop ( cfwCtx g , int op ) { unsigned char t [ 2 ] ; size_t count ; if ( op & 0xff00 ) { t [ 0 ] = tx_escape ; t [ 1 ] = ( unsigned char ) op ; count = 2 ; } else { t [ 0 ] = ( unsigned char ) op ; count = 1 ; } if ( g -> cb . stm . write ( & g -> cb . stm , g -> stm . tmp , count , ( char * ) t ) == 0 ) g -> err . code = cfwErrTmpStream ; }
Save op code in tmp file.
Save op code in tmp file .