Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | /* img.h */ |
2 | ||
3 | #ifndef _IMG | |
4 | #define _IMG | |
5 | ||
6 | #include "Lang.h" | |
7 | #include "tk.h" | |
8 | ||
9 | #define IMG_MAJOR_VERSION 1 | |
10 | #define IMG_MINOR_VERSION 2 | |
11 | #define IMG_RELEASE_LEVEL 1 | |
12 | #define IMG_RELEASE_SERIAL 2 | |
13 | ||
14 | #define IMG_VERSION "1.2" | |
15 | #define IMG_PATCH_LEVEL "1.2.4" | |
16 | ||
17 | #ifndef RESOURCE_INCLUDED | |
18 | ||
19 | #if defined(__WIN32__) | |
20 | # define WIN32_LEAN_AND_MEAN | |
21 | # include <windows.h> | |
22 | # undef WIN32_LEAN_AND_MEAN | |
23 | # if defined(_MSC_VER) | |
24 | # define EXPORT(a,b) __declspec(dllexport) a b | |
25 | # else | |
26 | # if defined(__BORLANDC__) | |
27 | # define EXPORT(a,b) a _export b | |
28 | # else | |
29 | # define EXPORT(a,b) a b | |
30 | # endif | |
31 | # endif | |
32 | #else | |
33 | # define EXPORT(a,b) a b | |
34 | #endif | |
35 | ||
36 | EXTERN EXPORT(int,Img_Init) _ANSI_ARGS_((Tcl_Interp *interp)); | |
37 | EXTERN EXPORT(int,Img_SafeInit) _ANSI_ARGS_((Tcl_Interp *interp)); | |
38 | ||
39 | #endif /* RESOURCE_INCLUDED */ | |
40 | ||
41 | #endif /* _IMG */ |