OSDN Git Service

Please enter the commit message for your changes. Lines starting
[eos/hostdependX86LINUX64.git] / util / X86LINUX64 / include / blt.h
1 /*
2  * blt.h --
3  *
4  * Copyright 1991-1998 by Bell Labs Innovations for Lucent
5  * Technologies.
6  *
7  * Permission to use, copy, modify, and distribute this software and
8  * its documentation for any purpose and without fee is hereby
9  * granted, provided that the above copyright notice appear in all
10  * copies and that both that the copyright notice and warranty
11  * disclaimer appear in supporting documentation, and that the names
12  * of Lucent Technologies any of their entities not be used in
13  * advertising or publicity pertaining to distribution of the software
14  * without specific, written prior permission.
15  *
16  * Lucent Technologies disclaims all warranties with regard to this
17  * software, including all implied warranties of merchantability and
18  * fitness.  In no event shall Lucent Technologies be liable for any
19  * special, indirect or consequential damages or any damages
20  * whatsoever resulting from loss of use, data or profits, whether in
21  * an action of contract, negligence or other tortuous action, arising
22  * out of or in connection with the use or performance of this
23  * software.
24  */
25
26 #ifndef _BLT_H
27 #define _BLT_H
28
29 #define BLT_MAJOR_VERSION       2
30 #define BLT_MINOR_VERSION       5
31 #define BLT_VERSION             "2.5"
32 #define BLT_PATCH_LEVEL         "2.5.3"
33 #define BLT_RELEASE_SERIAL      29
34
35 #include <tcl.h>
36
37 #ifndef EXPORT
38 #define EXPORT
39 #endif
40
41 #undef EXTERN
42
43 #ifdef __cplusplus
44 #   define EXTERN extern "C" EXPORT
45 #else
46 #   define EXTERN extern EXPORT
47 #endif
48
49 #ifndef _ANSI_ARGS_
50 #   define _ANSI_ARGS_(x)       ()
51 #endif
52
53 #include <bltVector.h>
54 #include <bltHash.h>
55
56 typedef char *Blt_Uid;
57
58 EXTERN Blt_Uid Blt_GetUid _ANSI_ARGS_((char *string));
59 EXTERN void Blt_FreeUid _ANSI_ARGS_((Blt_Uid uid));
60 EXTERN Blt_Uid Blt_FindUid _ANSI_ARGS_((char *string));
61 EXTERN CONST char *Blt_InitStubs _ANSI_ARGS_((Tcl_Interp *interp, char *version, int exact));
62
63 #if (TCL_MAJOR_VERSION >= 8)
64 EXTERN int Blt_GetArrayFromObj _ANSI_ARGS_((Tcl_Interp *interp, 
65         Tcl_Obj *objPtr, Blt_HashTable **tablePtrPtr));
66 EXTERN Tcl_Obj *Blt_NewArrayObj _ANSI_ARGS_((int objc, Tcl_Obj *objv[]));
67 EXTERN void Blt_RegisterArrayObj _ANSI_ARGS_((Tcl_Interp *interp));
68 EXTERN int Blt_IsArrayObj _ANSI_ARGS_((Tcl_Obj *obj));
69 #endif /* TCL_MAJOR_VERSION >= 8 */
70
71 #ifndef USE_BLT_STUBS
72 #include "bltOldConfig.h"
73 #else
74
75 #include "bltDecls.h"
76 #endif
77 #endif /*_BLT_H*/