Mercurial > hg > octave-lyh
diff src/ls-oct-binary.cc @ 11586:12df7854fa7c
strip trailing whitespace from source files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 17:24:59 -0500 |
parents | fd0a3ac60b0e |
children | 72c96de7a403 |
line wrap: on
line diff
--- a/src/ls-oct-binary.cc +++ b/src/ls-oct-binary.cc @@ -80,7 +80,7 @@ // ------ ---- ----- // magic number string 10 // -// float format integer 1 +// float format integer 1 // // // Data (one set for each item): @@ -252,7 +252,7 @@ goto data_read_error; break; } - + if (!tc.load_binary (is, swap, fmt)) { data_read_error: @@ -269,7 +269,7 @@ bool save_binary_data (std::ostream& os, const octave_value& tc, const std::string& name, const std::string& doc, - bool mark_as_global, bool save_as_floats) + bool mark_as_global, bool save_as_floats) { int32_t name_len = name.length (); @@ -296,7 +296,7 @@ os.write (reinterpret_cast<char *> (&len), 4); const char *btmp = typ.data (); os.write (btmp, len); - + // The octave_value of tc is const. Make a copy... octave_value val = tc;