Bump version to 0.9.1.
[python/dscho.git] / BeOS / dl_export.h
blobd65d534fde6bb887680904a91c71792f1ea49fcb
1 #ifndef BEOS_DL_EXPORT_H
2 #define BEOS_DL_EXPORT_H
4 /* There are no declarations here, so no #ifdef __cplusplus...
6 * This is the nasty declaration decorations required by certain systems
7 * (in our case, BeOS) for dynamic object loading.
9 * This trivial header is released under the same license as the rest of
10 * Python:
12 * Copyright (c) 2000, BeOpen.com.
13 * Copyright (c) 1995-2000, Corporation for National Research Initiatives.
14 * Copyright (c) 1990-1995, Stichting Mathematisch Centrum.
15 * All rights reserved.
17 * See the file "Misc/COPYRIGHT" for information on usage and
18 * redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
20 * - Chris Herborth (chrish@beoscentral.com)
21 * January 11, 1999
24 #ifndef DL_EXPORT
25 # define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
26 #endif
27 #ifndef DL_IMPORT
28 # ifdef USE_DL_EXPORT
29 # define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
30 # else
31 # define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
32 # endif
33 #endif
35 #endif