|
1 | 1 | /* EXTERN.h
|
2 | 2 | *
|
3 |
| - * Copyright (C) 1991, 1992, 1993, 1995, 1996, 1997, 1998, 1999, |
4 |
| - * 2000, 2001, by Larry Wall and others |
| 3 | + * Copyright (C) 1991, 1992, 1993, 1995, 1996, 1997, 1998, 1999, 2000, |
| 4 | + * 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, |
| 5 | + * 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 by |
| 6 | + * Larry Wall and others |
5 | 7 | *
|
6 | 8 | * You may distribute under the terms of either the GNU General Public
|
7 | 9 | * License or the Artistic License, as specified in the README file.
|
8 |
| - * |
9 | 10 | */
|
10 | 11 |
|
11 | 12 | /*
|
12 |
| - * EXT: designates a global var which is defined in perl.h |
| 13 | + * EXT: designates a global var which is defined in perl.h |
13 | 14 | *
|
14 |
| - * dEXT: designates a global var which is defined in another |
15 |
| - * file, so we can't count on finding it in perl.h |
16 |
| - * (this practice should be avoided). |
17 |
| - */ |
| 15 | + * dEXT: designates a global var which is defined in another file, so we can't |
| 16 | + * count on finding it in perl.h (this practice should be avoided). |
| 17 | +*/ |
18 | 18 | #undef EXT
|
19 | 19 | #undef dEXT
|
20 | 20 | #undef EXTCONST
|
|
24 | 24 | /* miniperl should not export anything */
|
25 | 25 | # if defined(PERL_IS_MINIPERL)
|
26 | 26 | # define EXT extern
|
27 |
| -# define dEXT |
| 27 | +# define dEXT |
28 | 28 | # define EXTCONST extern const
|
29 | 29 | # define dEXTCONST const
|
30 | 30 | # elif defined(PERLDLL)
|
31 | 31 | # define EXT EXTERN_C __declspec(dllexport)
|
32 |
| -# define dEXT |
| 32 | +# define dEXT |
33 | 33 | # define EXTCONST EXTERN_C __declspec(dllexport) const
|
34 | 34 | # define dEXTCONST const
|
35 | 35 | # else
|
36 | 36 | # define EXT EXTERN_C __declspec(dllimport)
|
37 |
| -# define dEXT |
| 37 | +# define dEXT |
38 | 38 | # define EXTCONST EXTERN_C __declspec(dllimport) const
|
39 | 39 | # define dEXTCONST const
|
40 | 40 | # endif
|
41 | 41 | # else
|
42 | 42 | # if defined(__CYGWIN__) && defined(USEIMPORTLIB)
|
43 | 43 | # define EXT extern __declspec(dllimport)
|
44 |
| -# define dEXT |
| 44 | +# define dEXT |
45 | 45 | # define EXTCONST extern __declspec(dllimport) const
|
46 | 46 | # define dEXTCONST const
|
47 | 47 | # else
|
|
0 commit comments