# HG changeset patch # User jwe # Date 1152910971 0 # Node ID 39cbf6a484bbf9fad32f970587e2e4cbd39269c6 # Parent b9676944b7a2f58c5266b9cac34113b9ecbf930c [project @ 2006-07-14 21:02:33 by jwe] diff -r b9676944b7a2 -r 39cbf6a484bb scripts/miscellaneous/orderfields.m --- a/scripts/miscellaneous/orderfields.m Fri Jul 14 20:53:45 2006 +0000 +++ b/scripts/miscellaneous/orderfields.m Fri Jul 14 21:02:51 2006 +0000 @@ -54,14 +54,14 @@ ## Two structures: return the fields in the order of s2. names = fieldnames (s2); if (! isequal (sort (fieldnames (s1)), sort (names))) - error ("orderfields: s1 and s2 do not have same fields"); + error ("orderfields: structures do not have same fields"); endif elseif (iscellstr (s2)) ## A structure and a list of fields: order by the list of fields. t1 = sort (fieldnames (s1)); t2 = sort (s2(:)); if (! isequal (t1, t2)) - error ("orderfields: invalid cell array of field names"); + error ("orderfields: name list does not match structure fields"); endif names = s2; elseif (isvector (s2)) diff -r b9676944b7a2 -r 39cbf6a484bb src/ChangeLog --- a/src/ChangeLog Fri Jul 14 20:53:45 2006 +0000 +++ b/src/ChangeLog Fri Jul 14 21:02:51 2006 +0000 @@ -1,5 +1,7 @@ 2006-07-14 John W. Eaton + * oct-stream.cc (do_write): Include explicit instantiations. + * ov-str-mat.h (octave_char_matrix_sq_str::resize): Include fill arg to match base class. diff -r b9676944b7a2 -r 39cbf6a484bb src/oct-stream.cc --- a/src/oct-stream.cc Fri Jul 14 20:53:45 2006 +0000 +++ b/src/oct-stream.cc Fri Jul 14 21:02:51 2006 +0000 @@ -3448,6 +3448,38 @@ return retval; } +template bool +do_write (std::ostream&, const octave_int8&, oct_data_conv::data_type, + oct_mach_info::float_format, bool, bool); + +template bool +do_write (std::ostream&, const octave_uint8&, oct_data_conv::data_type, + oct_mach_info::float_format, bool, bool); + +template bool +do_write (std::ostream&, const octave_int16&, oct_data_conv::data_type, + oct_mach_info::float_format, bool, bool); + +template bool +do_write (std::ostream&, const octave_uint16&, oct_data_conv::data_type, + oct_mach_info::float_format, bool, bool); + +template bool +do_write (std::ostream&, const octave_int32&, oct_data_conv::data_type, + oct_mach_info::float_format, bool, bool); + +template bool +do_write (std::ostream&, const octave_uint32&, oct_data_conv::data_type, + oct_mach_info::float_format, bool, bool); + +template bool +do_write (std::ostream&, const octave_int64&, oct_data_conv::data_type, + oct_mach_info::float_format, bool, bool); + +template bool +do_write (std::ostream&, const octave_uint64&, oct_data_conv::data_type, + oct_mach_info::float_format, bool, bool); + template octave_idx_type octave_stream::write (const Array& data, octave_idx_type block_size,