Mercurial > octave
annotate libinterp/corefcn/file-io.h @ 30340:2d80e308b9e4
maint: Merge stable to default.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 24 Nov 2021 12:01:52 -0500 |
parents | eff73c13fcf3 4b31fe078a5e |
children | ecf207896f76 |
rev | line source |
---|---|
27923
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
1 //////////////////////////////////////////////////////////////////////// |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
2 // |
29358
0a5b15007766
update Octave Project Developers copyright for the new year
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
3 // Copyright (C) 1993-2021 The Octave Project Developers |
27923
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
4 // |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
5 // See the file COPYRIGHT.md in the top-level directory of this |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
6 // distribution or <https://octave.org/copyright/>. |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
7 // |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
8 // This file is part of Octave. |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
9 // |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
10 // Octave is free software: you can redistribute it and/or modify it |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
11 // under the terms of the GNU General Public License as published by |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
12 // the Free Software Foundation, either version 3 of the License, or |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
13 // (at your option) any later version. |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
14 // |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
15 // Octave is distributed in the hope that it will be useful, but |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
16 // WITHOUT ANY WARRANTY; without even the implied warranty of |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
18 // GNU General Public License for more details. |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
19 // |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
20 // You should have received a copy of the GNU General Public License |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
21 // along with Octave; see the file COPYING. If not, see |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
22 // <https://www.gnu.org/licenses/>. |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
23 // |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
24 //////////////////////////////////////////////////////////////////////// |
1 | 25 |
1453 | 26 // Written by John C. Campbell <jcc@bevo.che.wisc.edu> |
1 | 27 |
20791
f7084eae3318
maint: Use Octave coding conventions for #if statements.
Rik <rik@octave.org>
parents:
19697
diff
changeset
|
28 #if ! defined (octave_file_io_h) |
1425 | 29 #define octave_file_io_h 1 |
1 | 30 |
21244
1473547f50f5
include octave-config.h in public header files
John W. Eaton <jwe@octave.org>
parents:
20791
diff
changeset
|
31 #include "octave-config.h" |
1473547f50f5
include octave-config.h in public header files
John W. Eaton <jwe@octave.org>
parents:
20791
diff
changeset
|
32 |
23442
53f5f8231c37
allow most header files to be compiled separately
John W. Eaton <jwe@octave.org>
parents:
23220
diff
changeset
|
33 #include <string> |
53f5f8231c37
allow most header files to be compiled separately
John W. Eaton <jwe@octave.org>
parents:
23220
diff
changeset
|
34 |
29999
04f9a4be7d79
move deprecated file-io.cc functions inside octave namespace
John W. Eaton <jwe@octave.org>
parents:
29954
diff
changeset
|
35 OCTAVE_NAMESPACE_BEGIN |
04f9a4be7d79
move deprecated file-io.cc functions inside octave namespace
John W. Eaton <jwe@octave.org>
parents:
29954
diff
changeset
|
36 |
30338
4b31fe078a5e
avoid declaring mark_for_deletion and cleanup_tmp_files in octave namspace
John W. Eaton <jwe@octave.org>
parents:
29999
diff
changeset
|
37 // Use this function internally until the function that uses it is |
4b31fe078a5e
avoid declaring mark_for_deletion and cleanup_tmp_files in octave namspace
John W. Eaton <jwe@octave.org>
parents:
29999
diff
changeset
|
38 // removed. Remove when corresponding global deprecated function is |
4b31fe078a5e
avoid declaring mark_for_deletion and cleanup_tmp_files in octave namspace
John W. Eaton <jwe@octave.org>
parents:
29999
diff
changeset
|
39 // removed. |
4b31fe078a5e
avoid declaring mark_for_deletion and cleanup_tmp_files in octave namspace
John W. Eaton <jwe@octave.org>
parents:
29999
diff
changeset
|
40 extern void mark_for_deletion_deprecated (const std::string&); |
5102 | 41 |
30338
4b31fe078a5e
avoid declaring mark_for_deletion and cleanup_tmp_files in octave namspace
John W. Eaton <jwe@octave.org>
parents:
29999
diff
changeset
|
42 // Use this function internally until the function that uses it is |
4b31fe078a5e
avoid declaring mark_for_deletion and cleanup_tmp_files in octave namspace
John W. Eaton <jwe@octave.org>
parents:
29999
diff
changeset
|
43 // removed. Remove when corresponding global deprecated function is |
4b31fe078a5e
avoid declaring mark_for_deletion and cleanup_tmp_files in octave namspace
John W. Eaton <jwe@octave.org>
parents:
29999
diff
changeset
|
44 // removed. |
4b31fe078a5e
avoid declaring mark_for_deletion and cleanup_tmp_files in octave namspace
John W. Eaton <jwe@octave.org>
parents:
29999
diff
changeset
|
45 extern void cleanup_tmp_files_deprecated (void); |
29999
04f9a4be7d79
move deprecated file-io.cc functions inside octave namespace
John W. Eaton <jwe@octave.org>
parents:
29954
diff
changeset
|
46 |
04f9a4be7d79
move deprecated file-io.cc functions inside octave namespace
John W. Eaton <jwe@octave.org>
parents:
29954
diff
changeset
|
47 OCTAVE_NAMESPACE_END |
04f9a4be7d79
move deprecated file-io.cc functions inside octave namespace
John W. Eaton <jwe@octave.org>
parents:
29954
diff
changeset
|
48 |
29954
4c88a452519c
rename OCTAVE_USE_DEPRECATED_FUNCTIONS macro and attempt to make it work
John W. Eaton <jwe@octave.org>
parents:
29358
diff
changeset
|
49 #endif |