Mercurial > hg > octave-lyh
comparison libinterp/interp-core/gripes.h @ 15195:2fc554ffbc28
split libinterp from src
* libinterp: New directory. Move all files from src directory here
except Makefile.am, main.cc, main-cli.cc, mkoctfile.in.cc,
mkoctfilr.in.sh, octave-config.in.cc, octave-config.in.sh.
* libinterp/Makefile.am: New file, extracted from src/Makefile.am.
* src/Makefile.am: Delete everything except targets and definitions
needed to build and link main and utility programs.
* Makefile.am (SUBDIRS): Include libinterp in the list.
* autogen.sh: Run config-module.sh in libinterp/dldfcn directory, not
src/dldfcn directory.
* configure.ac (AC_CONFIG_SRCDIR): Use libinterp/octave.cc, not
src/octave.cc.
(DL_LDFLAGS, LIBOCTINTERP): Use libinterp, not src.
(AC_CONFIG_FILES): Include libinterp/Makefile in the list.
* find-docstring-files.sh: Look in libinterp, not src.
* gui/src/Makefile.am (liboctgui_la_CPPFLAGS): Find header files in
libinterp, not src.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 18 Aug 2012 16:23:39 -0400 |
parents | src/interp-core/gripes.h@909a2797935b |
children |
comparison
equal
deleted
inserted
replaced
15194:0f0b795044c3 | 15195:2fc554ffbc28 |
---|---|
1 /* | |
2 | |
3 Copyright (C) 1993-2012 John W. Eaton | |
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 3 of the License, or (at your | |
10 option) any 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, see | |
19 <http://www.gnu.org/licenses/>. | |
20 | |
21 */ | |
22 | |
23 #if !defined (octave_gripes_h) | |
24 #define octave_gripes_h 1 | |
25 | |
26 #include <string> | |
27 | |
28 #include "lo-array-gripes.h" | |
29 | |
30 class octave_value; | |
31 | |
32 extern OCTINTERP_API void | |
33 gripe_not_supported (const char *); | |
34 | |
35 extern OCTINTERP_API void | |
36 gripe_not_implemented (const char *); | |
37 | |
38 extern OCTINTERP_API void | |
39 gripe_string_invalid (void); | |
40 | |
41 extern OCTINTERP_API void | |
42 gripe_range_invalid (void); | |
43 | |
44 extern OCTINTERP_API void | |
45 gripe_nonconformant (void); | |
46 | |
47 extern OCTINTERP_API void | |
48 gripe_nonconformant (octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2); | |
49 | |
50 extern OCTINTERP_API void | |
51 gripe_empty_arg (const char *name, bool is_error); | |
52 | |
53 extern OCTINTERP_API void | |
54 gripe_square_matrix_required (const char *name); | |
55 | |
56 extern OCTINTERP_API void | |
57 gripe_user_supplied_eval (const char *name); | |
58 | |
59 extern OCTINTERP_API void | |
60 gripe_user_returned_invalid (const char *name); | |
61 | |
62 extern OCTINTERP_API void | |
63 gripe_invalid_conversion (const std::string& from, const std::string& to); | |
64 | |
65 extern OCTINTERP_API void | |
66 gripe_invalid_value_specified (const char *name); | |
67 | |
68 extern OCTINTERP_API void | |
69 gripe_2_or_3_dim_plot (void); | |
70 | |
71 extern OCTINTERP_API void | |
72 gripe_unrecognized_float_fmt (void); | |
73 | |
74 extern OCTINTERP_API void | |
75 gripe_unrecognized_data_fmt (const char *warn_for); | |
76 | |
77 extern OCTINTERP_API void | |
78 gripe_data_conversion (const char *from, const char *to); | |
79 | |
80 extern OCTINTERP_API void | |
81 gripe_wrong_type_arg (const char *name, const char *s, | |
82 bool is_error = true); | |
83 | |
84 extern OCTINTERP_API void | |
85 gripe_wrong_type_arg (const char *name, const std::string& s, | |
86 bool is_error = true); | |
87 | |
88 extern OCTINTERP_API void | |
89 gripe_wrong_type_arg (const char *name, const octave_value& tc, | |
90 bool is_error = true); | |
91 | |
92 extern OCTINTERP_API void | |
93 gripe_wrong_type_arg (const std::string& name, const octave_value& tc, | |
94 bool is_error = true); | |
95 | |
96 extern OCTINTERP_API void | |
97 gripe_wrong_type_arg_for_unary_op (const octave_value& op); | |
98 | |
99 extern OCTINTERP_API void | |
100 gripe_wrong_type_arg_for_binary_op (const octave_value& op); | |
101 | |
102 extern OCTINTERP_API void | |
103 gripe_implicit_conversion (const char *id, const char *from, const char *to); | |
104 | |
105 extern OCTINTERP_API void | |
106 gripe_implicit_conversion (const std::string& id, const std::string& from, | |
107 const std::string& to); | |
108 | |
109 extern OCTINTERP_API void | |
110 gripe_divide_by_zero (void); | |
111 | |
112 extern OCTINTERP_API void | |
113 gripe_logical_conversion (void); | |
114 | |
115 extern OCTINTERP_API void | |
116 gripe_library_execution_error (void); | |
117 | |
118 extern OCTINTERP_API void | |
119 gripe_invalid_inquiry_subscript (void); | |
120 | |
121 extern OCTINTERP_API void | |
122 gripe_indexed_cs_list (void); | |
123 | |
124 extern OCTINTERP_API void | |
125 gripe_nonbraced_cs_list_assignment (void); | |
126 | |
127 extern OCTINTERP_API void | |
128 gripe_warn_complex_cmp (void); | |
129 | |
130 #endif |