1
|
1 // builtin text function support. -*- C++ -*- |
|
2 /* |
|
3 |
|
4 Copyright (C) 1992, 1993 John W. Eaton |
|
5 |
|
6 This file is part of Octave. |
|
7 |
|
8 Octave is free software; you can redistribute it and/or modify it |
|
9 under the terms of the GNU General Public License as published by the |
|
10 Free Software Foundation; either version 2, or (at your option) any |
|
11 later version. |
|
12 |
|
13 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
16 for more details. |
|
17 |
|
18 You should have received a copy of the GNU General Public License |
|
19 along with Octave; see the file COPYING. If not, write to the Free |
|
20 Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
|
21 |
|
22 */ |
|
23 |
|
24 #if !defined (_t_builtins_h) |
|
25 #define _t_builtins_h 1 |
|
26 |
|
27 #ifdef __GNUG__ |
|
28 #pragma interface |
|
29 #endif |
|
30 |
|
31 #include "tree-const.h" |
|
32 |
|
33 struct builtin_text_functions |
|
34 { |
|
35 char *name; |
|
36 int nargin_max; |
|
37 Text_fcn text_fcn; |
|
38 char *help_string; |
|
39 }; |
|
40 |
|
41 extern tree_constant builtin_casesen (int, char **); |
|
42 extern tree_constant builtin_cd (int, char **); |
|
43 extern tree_constant builtin_clear (int, char **); |
|
44 extern tree_constant builtin_document (int, char **); |
|
45 extern tree_constant builtin_edit_history (int, char **); |
|
46 extern tree_constant builtin_format (int, char **); |
|
47 extern tree_constant builtin_help (int, char **); |
|
48 extern tree_constant builtin_history (int, char **); |
|
49 extern tree_constant builtin_load (int, char **); |
|
50 extern tree_constant builtin_ls (int, char **); |
|
51 extern tree_constant builtin_save (int, char **); |
|
52 extern tree_constant builtin_set (int, char **); |
|
53 extern tree_constant builtin_show (int, char **); |
|
54 extern tree_constant builtin_who (int, char **); |
|
55 |
|
56 #endif |
|
57 |
|
58 /* |
|
59 ;;; Local Variables: *** |
|
60 ;;; mode: C++ *** |
|
61 ;;; page-delimiter: "^/\\*" *** |
|
62 ;;; End: *** |
|
63 */ |