Mercurial > hg > octave-nkf
diff liboctave/data-conv.h @ 10349:d4d13389c957
make load-save to matlab format work when using --enable-64
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 22 Feb 2010 23:07:21 -0500 |
parents | cbc402e64d83 |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/liboctave/data-conv.h +++ b/liboctave/data-conv.h @@ -92,33 +92,37 @@ }; extern OCTAVE_API void -do_double_format_conversion (void *data, int len, +do_double_format_conversion (void *data, octave_idx_type len, oct_mach_info::float_format from_fmt, oct_mach_info::float_format to_fmt = oct_mach_info::native_float_format ()); extern OCTAVE_API void -do_float_format_conversion (void *data, int len, +do_float_format_conversion (void *data, octave_idx_type len, oct_mach_info::float_format from_fmt, oct_mach_info::float_format to_fmt = oct_mach_info::native_float_format ()); extern OCTAVE_API void -do_float_format_conversion (void *data, size_t sz, int len, +do_float_format_conversion (void *data, size_t sz, octave_idx_type len, oct_mach_info::float_format from_fmt, oct_mach_info::float_format to_fmt = oct_mach_info::native_float_format ()); extern OCTAVE_API void -read_doubles (std::istream& is, double *data, save_type type, int len, - bool swap, oct_mach_info::float_format fmt); +read_doubles (std::istream& is, double *data, save_type type, + octave_idx_type len, bool swap, oct_mach_info::float_format fmt); + extern OCTAVE_API void -write_doubles (std::ostream& os, const double *data, save_type type, int len); +write_doubles (std::ostream& os, const double *data, save_type type, + octave_idx_type len); extern OCTAVE_API void -read_floats (std::istream& is, float *data, save_type type, int len, - bool swap, oct_mach_info::float_format fmt); +read_floats (std::istream& is, float *data, save_type type, + octave_idx_type len, bool swap, oct_mach_info::float_format fmt); + extern OCTAVE_API void -write_floats (std::ostream& os, const float *data, save_type type, int len); +write_floats (std::ostream& os, const float *data, save_type type, + octave_idx_type len); #endif