| 1 | /* toltcl.h - This header file contains the function declarations |
|---|
| 2 | needed for all of the source files in this package. |
|---|
| 3 | GNU/tolTcl Library |
|---|
| 4 | |
|---|
| 5 | Copyright (C) 2001, 2002, 2003 - Bayes Decisión, SL |
|---|
| 6 | |
|---|
| 7 | This program is free software; you can redistribute it and/or modify |
|---|
| 8 | it under the terms of the GNU General Public License as published by |
|---|
| 9 | the Free Software Foundation; either version 2, or (at your option) |
|---|
| 10 | any later version. |
|---|
| 11 | |
|---|
| 12 | This program is distributed in the hope that it will be useful, |
|---|
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 15 | GNU General Public License for more details. |
|---|
| 16 | |
|---|
| 17 | You should have received a copy of the GNU General Public License |
|---|
| 18 | along with this program; if not, write to the Free Software |
|---|
| 19 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|---|
| 20 | USA. |
|---|
| 21 | */ |
|---|
| 22 | |
|---|
| 23 | #ifndef TOLTCL_H |
|---|
| 24 | #define TOLTCL_H 1 |
|---|
| 25 | |
|---|
| 26 | #include <tt_common.h> |
|---|
| 27 | #include <tcl.h> |
|---|
| 28 | |
|---|
| 29 | /* |
|---|
| 30 | * Windows needs to know which symbols to export. Unix does not. |
|---|
| 31 | * BUILD_TOLTCL should be undefined for Unix. |
|---|
| 32 | */ |
|---|
| 33 | |
|---|
| 34 | #define TOLTCL_MAJOR_VERSION 2 |
|---|
| 35 | #define TOLTCL_MINOR_VERSION 0 |
|---|
| 36 | #define TOLTCL_RELEASE_SERIAL 2 |
|---|
| 37 | #ifdef PACKAGE_VERSION |
|---|
| 38 | #define TOLTCL_VERSION PACKAGE_VERSION |
|---|
| 39 | #else |
|---|
| 40 | #define TOLTCL_VERSION "2.0.2" |
|---|
| 41 | #endif |
|---|
| 42 | |
|---|
| 43 | #ifdef BUILD_TOLTCL |
|---|
| 44 | #undef TCL_STORAGE_CLASS |
|---|
| 45 | #define TCL_STORAGE_CLASS DLLEXPORT |
|---|
| 46 | #endif /* BUILD_TOLTCL */ |
|---|
| 47 | |
|---|
| 48 | /* |
|---|
| 49 | * Only the _Init function is exported. |
|---|
| 50 | */ |
|---|
| 51 | |
|---|
| 52 | EXTERN int Toltcl_Init _ANSI_ARGS_((Tcl_Interp * interp)); |
|---|
| 53 | |
|---|
| 54 | #endif /* TOLTCL_H */ |
|---|