added QSE_SIO_NOAUTOFLUSH.

fixed a bug in qse_tio_writew()
changed how assert() prints messages.
This commit is contained in:
2011-12-12 14:46:22 +00:00
parent 0b4c66cbf5
commit 57683c9396
6 changed files with 107 additions and 68 deletions

View File

@ -67,7 +67,7 @@ static int test1 (void)
qse_mbsset (buf, QSE_MT('A'), QSE_COUNTOF(buf));
n = qse_wcstombs (x[i], &wlen, buf, &mlen);
QSE_ASSERT (buf[QSE_COUNTOF(buf)-1] == QSE_MT('A'));
QSE_ASSERT (buf[QSE_COUNTOF(buf)-1] != QSE_MT('A'));
buf[QSE_COUNTOF(buf)-1] = QSE_MT('\0');
qse_printf (QSE_T("%s chars=%d bytes=%d [%hs]\n"),