1967
|
1 /* |
|
2 |
2847
|
3 Copyright (C) 1996, 1997 John W. Eaton |
1967
|
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 |
|
9 Free Software Foundation; either version 2, or (at your option) any |
|
10 later version. |
|
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 |
|
18 along with Octave; see the file COPYING. If not, write to the Free |
|
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
20 |
|
21 */ |
|
22 |
|
23 #if !defined (octave_liboctave_utils_h) |
|
24 #define octave_liboctave_utils_h 1 |
|
25 |
2926
|
26 #include <cstdio> |
|
27 |
|
28 #include <string> |
|
29 |
1967
|
30 extern int NINT (double x); |
|
31 extern double D_NINT (double x); |
|
32 |
2926
|
33 extern char *strsave (const char *); |
|
34 |
3504
|
35 extern void octave_putenv (const std::string&, const std::string&); |
2926
|
36 |
3504
|
37 extern std::string octave_fgets (std::FILE *); |
2926
|
38 |
3613
|
39 extern "C" void octave_qsort (void *base, size_t n, size_t size, |
|
40 int (*cmp) (const void *, const void *)); |
|
41 |
3706
|
42 extern "C" char *oct_strptime (const char *buf, const char *format, |
|
43 struct tm *tm); |
|
44 |
1967
|
45 #endif |
|
46 |
|
47 /* |
|
48 ;;; Local Variables: *** |
|
49 ;;; mode: C++ *** |
|
50 ;;; End: *** |
|
51 */ |