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 4
|
---|
31 | #define BLT_VERSION "2.4"
|
---|
32 | #define BLT_PATCH_LEVEL "2.4z"
|
---|
33 | #define BLT_RELEASE_SERIAL 0
|
---|
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 |
|
---|
62 | #if (TCL_MAJOR_VERSION >= 8)
|
---|
63 | EXTERN int Blt_GetArrayFromObj _ANSI_ARGS_((Tcl_Interp *interp,
|
---|
64 | Tcl_Obj *objPtr, Blt_HashTable **tablePtrPtr));
|
---|
65 | EXTERN Tcl_Obj *Blt_NewArrayObj _ANSI_ARGS_((int objc, Tcl_Obj *objv[]));
|
---|
66 | EXTERN void Blt_RegisterArrayObj _ANSI_ARGS_((Tcl_Interp *interp));
|
---|
67 | EXTERN int Blt_IsArrayObj _ANSI_ARGS_((Tcl_Obj *obj));
|
---|
68 | #endif /* TCL_MAJOR_VERSION >= 8 */
|
---|
69 |
|
---|
70 | #endif /*_BLT_H*/
|
---|