diff options
author | drh <drh@noemail.net> | 2016-07-28 18:55:57 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2016-07-28 18:55:57 +0000 |
commit | 3a22fdab9a40e54065b36b48daadf00fcffd4565 (patch) | |
tree | 162ae7a09a5698549f3d14e0ad7d87390ca5a4ef /src/test_rtree.c | |
parent | a8914faaaa981c87f193eb62477e7ba7d0affeed (diff) | |
parent | c0bebc1dcfe7711b80d3a3333d35c991849785ed (diff) | |
download | sqlite-3a22fdab9a40e54065b36b48daadf00fcffd4565.tar.gz sqlite-3a22fdab9a40e54065b36b48daadf00fcffd4565.zip |
Decorate all interfaces with calling convention macros.
FossilOrigin-Name: fd784887e125bf95f4799ad09cbcba6795173487
Diffstat (limited to 'src/test_rtree.c')
-rw-r--r-- | src/test_rtree.c | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/test_rtree.c b/src/test_rtree.c index 797ec0026..0c6dbf3cd 100644 --- a/src/test_rtree.c +++ b/src/test_rtree.c @@ -14,7 +14,11 @@ */ #include "sqlite3.h" -#include <tcl.h> +#if defined(INCLUDE_SQLITE_TCL_H) +# include "sqlite_tcl.h" +#else +# include "tcl.h" +#endif /* Solely for the UNUSED_PARAMETER() macro. */ #include "sqliteInt.h" @@ -353,7 +357,11 @@ static int bfs_query_func(sqlite3_rtree_query_info *p){ *************************************************************************/ #include <assert.h> -#include "tcl.h" +#if defined(INCLUDE_SQLITE_TCL_H) +# include "sqlite_tcl.h" +#else +# include "tcl.h" +#endif typedef struct Cube Cube; struct Cube { @@ -432,7 +440,7 @@ static int cube_geom( } #endif /* SQLITE_ENABLE_RTREE */ -static int register_cube_geom( +static int SQLITE_TCLAPI register_cube_geom( void * clientData, Tcl_Interp *interp, int objc, @@ -460,7 +468,7 @@ static int register_cube_geom( return TCL_OK; } -static int register_circle_geom( +static int SQLITE_TCLAPI register_circle_geom( void * clientData, Tcl_Interp *interp, int objc, |