annotate libcruft/misc/oct-dlldefs.h @ 7016:93c65f2a5668

[project @ 2007-10-12 06:40:56 by jwe]
author jwe
date Fri, 12 Oct 2007 06:41:26 +0000
parents 483176585b84
children a1dbe9d80eee
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6121
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
1 /*
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
2
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
3 Copyright (C) 2006 John W. Eaton
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
4
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
5 This file is part of Octave.
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
6
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
7 Octave is free software; you can redistribute it and/or modify it
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
8 under the terms of the GNU General Public License as published by the
7016
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6121
diff changeset
9 Free Software Foundation; either version 3 of the License, or (at your
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6121
diff changeset
10 option) any later version.
6121
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
11
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
12 Octave is distributed in the hope that it will be useful, but WITHOUT
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
15 for more details.
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
16
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
7016
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6121
diff changeset
18 along with Octave; see the file COPYING. If not, see
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6121
diff changeset
19 <http://www.gnu.org/licenses/>.
6121
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
20
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
21 */
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
22
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
23 #if !defined (octave_dlldefs_h)
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
24 #define octave_dlldefs_h 1
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
25
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
26 #if defined (_MSC_VER)
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
27 #define OCTAVE_EXPORT __declspec(dllexport)
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
28 #define OCTAVE_IMPORT __declspec(dllimport)
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
29 #else
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
30 /* All other compilers, at least for now. */
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
31 #define OCTAVE_EXPORT
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
32 #define OCTAVE_IMPORT
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
33 #endif
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
34
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
35 /* API macro for libcruft */
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
36 #ifdef CRUFT_DLL
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
37 #define CRUFT_API OCTAVE_EXPORT
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
38 #else
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
39 #define CRUFT_API OCTAVE_IMPORT
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
40 #endif
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
41
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
42 /* API macro for liboctave */
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
43 #ifdef OCTAVE_DLL
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
44 #define OCTAVE_API OCTAVE_EXPORT
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
45 #else
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
46 #define OCTAVE_API OCTAVE_IMPORT
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
47 #endif
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
48
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
49 /* API macro for src */
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
50 #ifdef OCTINTERP_DLL
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
51 #define OCTINTERP_API OCTAVE_EXPORT
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
52 #else
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
53 #define OCTINTERP_API OCTAVE_IMPORT
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
54 #endif
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
55
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
56 #endif
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
57
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
58 /*
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
59 ;;; Local Variables: ***
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
60 ;;; mode: C++ ***
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
61 ;;; End: ***
483176585b84 [project @ 2006-10-28 03:06:32 by jwe]
jwe
parents:
diff changeset
62 */