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/test9.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/test9.c')
-rw-r--r-- | src/test9.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/test9.c b/src/test9.c index e5993e8ff..5b139e8a5 100644 --- a/src/test9.c +++ b/src/test9.c @@ -15,14 +15,18 @@ ** as there is not much point in binding to Tcl. */ #include "sqliteInt.h" -#include "tcl.h" +#if defined(INCLUDE_SQLITE_TCL_H) +# include "sqlite_tcl.h" +#else +# include "tcl.h" +#endif #include <stdlib.h> #include <string.h> /* ** c_collation_test */ -static int c_collation_test( +static int SQLITE_TCLAPI c_collation_test( ClientData clientData, /* Pointer to sqlite3_enable_XXX function */ Tcl_Interp *interp, /* The TCL interpreter that invoked this command */ int objc, /* Number of arguments */ @@ -63,7 +67,7 @@ error_out: /* ** c_realloc_test */ -static int c_realloc_test( +static int SQLITE_TCLAPI c_realloc_test( ClientData clientData, /* Pointer to sqlite3_enable_XXX function */ Tcl_Interp *interp, /* The TCL interpreter that invoked this command */ int objc, /* Number of arguments */ @@ -104,7 +108,7 @@ error_out: /* ** c_misuse_test */ -static int c_misuse_test( +static int SQLITE_TCLAPI c_misuse_test( ClientData clientData, /* Pointer to sqlite3_enable_XXX function */ Tcl_Interp *interp, /* The TCL interpreter that invoked this command */ int objc, /* Number of arguments */ |