summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlperl/lib/Tk/pTk/img.h
blob: a1b38a7ebd85b6467ffbe3a53af4659b3b1dbc2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* img.h */

#ifndef _IMG
#define _IMG

#include "Lang.h"
#include "tk.h"

#define IMG_MAJOR_VERSION 1
#define IMG_MINOR_VERSION 2
#define IMG_RELEASE_LEVEL 1
#define IMG_RELEASE_SERIAL 2

#define IMG_VERSION "1.2"
#define IMG_PATCH_LEVEL "1.2.4"

#ifndef RESOURCE_INCLUDED

#if defined(__WIN32__)
#   define WIN32_LEAN_AND_MEAN
#   include <windows.h>
#   undef WIN32_LEAN_AND_MEAN
#   if defined(_MSC_VER)
#	define EXPORT(a,b) __declspec(dllexport) a b
#   else
#	if defined(__BORLANDC__)
#	    define EXPORT(a,b) a _export b
#	else
#	    define EXPORT(a,b) a b
#	endif
#   endif
#else
#   define EXPORT(a,b) a b
#endif

EXTERN EXPORT(int,Img_Init) _ANSI_ARGS_((Tcl_Interp *interp));
EXTERN EXPORT(int,Img_SafeInit) _ANSI_ARGS_((Tcl_Interp *interp));

#endif /* RESOURCE_INCLUDED */

#endif /* _IMG */