File indexing completed on 2024-05-18 08:30:22
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef TDBC_H_INCLUDED
0017 #define TDBC_H_INCLUDED 1
0018
0019 #include <tcl.h>
0020
0021 #ifndef TDBCAPI
0022 # if defined(BUILD_tdbc)
0023 # define TDBCAPI MODULE_SCOPE
0024 # else
0025 # define TDBCAPI extern
0026 # undef USE_TDBC_STUBS
0027 # define USE_TDBC_STUBS 1
0028 # endif
0029 #endif
0030
0031 #ifdef __cplusplus
0032 extern "C" {
0033 #endif
0034
0035 #if defined(BUILD_tdbc)
0036 DLLEXPORT int Tdbc_Init(Tcl_Interp *interp);
0037 #elif defined(STATIC_BUILD)
0038 extern int Tdbc_Init(Tcl_Interp* interp);
0039 #else
0040 DLLIMPORT int Tdbc_Init(Tcl_Interp* interp);
0041 #endif
0042
0043 #define Tdbc_InitStubs(interp) TdbcInitializeStubs(interp, \
0044 TDBC_VERSION, TDBC_STUBS_EPOCH, TDBC_STUBS_REVISION)
0045 #if defined(USE_TDBC_STUBS)
0046 TDBCAPI const char* TdbcInitializeStubs(
0047 Tcl_Interp* interp, const char* version, int epoch, int revision);
0048 #else
0049 # define TdbcInitializeStubs(interp, version, epoch, revision) \
0050 (Tcl_PkgRequire(interp, "tdbc", version))
0051 #endif
0052
0053 #ifdef __cplusplus
0054 }
0055 #endif
0056
0057
0058
0059
0060
0061
0062 #define TDBC_VERSION "1.1"
0063 #define TDBC_PATCHLEVEL "1.1.3"
0064
0065
0066
0067
0068
0069
0070 #include "tdbcDecls.h"
0071
0072 #endif
0073
0074
0075
0076
0077
0078
0079
0080