Mercurial > hg > octave-nkf
changeset 4595:331f6de7102b
[project @ 2003-11-12 02:40:14 by jwe]
author | jwe |
---|---|
date | Wed, 12 Nov 2003 02:41:52 +0000 |
parents | 3a284f89aa41 |
children | 01f8dba3f689 |
files | src/ChangeLog src/oct-stream.cc |
diffstat | 2 files changed, 28 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> + * oct-stream.cc: Explicitly instantiate octave_scan functions. + * TEMPLATE-INST/Array-tc.cc, TEMPLATE-INST/Array-c.cc, TEMPLATE-INST/Array-os.cc, TEMPLATE-INST/Array-sym.cc, ov-typeinfo.cc: Use new INSTANTIATE_ARRAY macro.
--- a/src/oct-stream.cc +++ b/src/oct-stream.cc @@ -1106,6 +1106,32 @@ return is >> valptr; } +template std::istream& +octave_scan (std::istream&, const scanf_format_elt&, int*); + +template std::istream& +octave_scan (std::istream&, const scanf_format_elt&, long int*); + +template std::istream& +octave_scan (std::istream&, const scanf_format_elt&, short int*); + +template std::istream& +octave_scan (std::istream&, const scanf_format_elt&, unsigned int*); + +template std::istream& +octave_scan (std::istream&, const scanf_format_elt&, unsigned long int*); + +template std::istream& +octave_scan (std::istream&, const scanf_format_elt&, unsigned short int*); + +#if 0 +template std::istream& +octave_scan (std::istream&, const scanf_format_elt&, float*); +#endif + +template std::istream& +octave_scan (std::istream&, const scanf_format_elt&, double*); + #endif template <class T>