annotate libinterp/corefcn/auto-shlib.cc @ 31706:597f3ee61a48 stable

update Octave Project Developers copyright for the new year
author John W. Eaton <jwe@octave.org>
date Fri, 06 Jan 2023 13:11:27 -0500
parents e88a07dec498
children 21f9b34eb893
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30748
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 ////////////////////////////////////////////////////////////////////////
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 //
31706
597f3ee61a48 update Octave Project Developers copyright for the new year
John W. Eaton <jwe@octave.org>
parents: 31605
diff changeset
3 // Copyright (C) 2022-2023 The Octave Project Developers
30748
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 //
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 // See the file COPYRIGHT.md in the top-level directory of this
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 // distribution or <https://octave.org/copyright/>.
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 //
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 // This file is part of Octave.
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 //
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 // Octave is free software: you can redistribute it and/or modify it
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 // under the terms of the GNU General Public License as published by
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 // the Free Software Foundation, either version 3 of the License, or
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 // (at your option) any later version.
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 //
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 // Octave is distributed in the hope that it will be useful, but
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 // WITHOUT ANY WARRANTY; without even the implied warranty of
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 // GNU General Public License for more details.
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 //
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 // You should have received a copy of the GNU General Public License
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 // along with Octave; see the file COPYING. If not, see
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 // <https://www.gnu.org/licenses/>.
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 //
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 ////////////////////////////////////////////////////////////////////////
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 #if defined (HAVE_CONFIG_H)
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 # include "config.h"
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 #endif
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30 #include "octave-config.h"
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
31
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
32 #include "auto-shlib.h"
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
33 #include "defun-int.h"
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
34
31605
e88a07dec498 maint: Use macros to begin/end C++ namespaces.
Rik <rik@octave.org>
parents: 30748
diff changeset
35 OCTAVE_BEGIN_NAMESPACE(octave)
30748
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
36
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
37 auto_shlib::auto_shlib (void)
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
38 : dynamic_library (get_current_shlib ())
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
39 { }
e00154c0a71b move auto_shlib class to separate source file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
40
31605
e88a07dec498 maint: Use macros to begin/end C++ namespaces.
Rik <rik@octave.org>
parents: 30748
diff changeset
41 OCTAVE_END_NAMESPACE(octave)