Team Ai
Modelpublic

AryaWu/sqlite

sourceHugging Faceupdated 10mo agoView on Hugging Face
0likes
tclsqlite.h43 linesDownload Raw Back to src
1/*2** 2024-07-303**4** The author disclaims copyright to this source code.  In place of5** a legal notice, here is a blessing:6**7**    May you do good and not evil.8**    May you find forgiveness for yourself and forgive others.9**    May you share freely, never taking more than you give.10**11*************************************************************************12** This header file defines the interface to TCL as used by SQLite.13** SQLite subcomponents that use TCL (the libsqlite3.c interface library14** and various test*.c pieces) should #include this file rather than15** including tcl.h directly.16*/17/******  Any edits to this file must mirrored in tclsqlite.c ***********/18 19/* When compiling for Windows using STDCALL instead of CDECL calling20** conventions, the MSVC makefile has to build a customized version of21** the "tcl.h" header that specifies the calling conventions for each22** interface.  That customized "tcl.h" is named "sqlite_tcl.h".23*/24#if defined(INCLUDE_SQLITE_TCL_H)25# include "sqlite_tcl.h"   /* Special case for Windows using STDCALL */26#else27# include <tcl.h>          /* All normal cases */28# ifndef SQLITE_TCLAPI29#   define SQLITE_TCLAPI30# endif31#endif32 33/******  Any edits to this file must mirrored in tclsqlite.c ***********/34 35/* Compatibility between Tcl8.6 and Tcl9.0 */36#if TCL_MAJOR_VERSION==937# define CONST const38#elif !defined(Tcl_Size)39# define Tcl_Size int40#endif41 42/******  Any edits to this file must mirrored in tclsqlite.c ***********/43