Mercurial > octave-libgccjit
view .hgsubstate @ 18616:aa861a98d84d stable
fwrite: don't convert to octave_int for char output types
* oct-stream.cc (convert_chars): New template function.
(ultimate_element_type): New traits class and specialization.
(convert_data): Handle conversion to char types differently from
single byte integer types.
* io.tst: New test.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 03 Apr 2014 19:50:14 -0400 |
parents | 18096cd30339 |
children |