Mercurial > hg > octave-nkf
annotate src/ls-oct-binary.h @ 8870:eea0e1b45ec0
optimize string manipulation in lookfor
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Wed, 25 Feb 2009 10:21:33 +0100 |
parents | f6fffa74b9b5 |
children | eb63fbe60fab |
rev | line source |
---|---|
4634 | 1 /* |
2 | |
7017 | 3 Copyright (C) 2003, 2005, 2007 John W. Eaton |
4634 | 4 |
5 This file is part of Octave. | |
6 | |
7 Octave is free software; you can redistribute it and/or modify it | |
8 under the terms of the GNU General Public License as published by the | |
7016 | 9 Free Software Foundation; either version 3 of the License, or (at your |
10 option) any later version. | |
4634 | 11 |
12 Octave is distributed in the hope that it will be useful, but WITHOUT | |
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
15 for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
7016 | 18 along with Octave; see the file COPYING. If not, see |
19 <http://www.gnu.org/licenses/>. | |
4634 | 20 |
21 */ | |
22 | |
23 #if !defined (octave_ls_oct_binary_h) | |
24 #define octave_ls_oct_binary_h 1 | |
25 | |
7867
f6fffa74b9b5
Export additional symbols: octave_fcn_inline, octave_fcn_handle, read_binary_data, save_binary_data.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7017
diff
changeset
|
26 extern OCTINTERP_API bool |
4634 | 27 save_binary_data (std::ostream& os, const octave_value& tc, |
28 const std::string& name, const std::string& doc, | |
29 bool mark_as_global, bool save_as_floats); | |
30 | |
7867
f6fffa74b9b5
Export additional symbols: octave_fcn_inline, octave_fcn_handle, read_binary_data, save_binary_data.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7017
diff
changeset
|
31 extern OCTINTERP_API std::string |
4634 | 32 read_binary_data (std::istream& is, bool swap, |
33 oct_mach_info::float_format fmt, | |
34 const std::string& filename, bool& global, | |
35 octave_value& tc, std::string& doc); | |
36 | |
37 #endif | |
38 | |
39 /* | |
40 ;;; Local Variables: *** | |
41 ;;; mode: C++ *** | |
42 ;;; End: *** | |
43 */ | |
44 |