Mercurial > hg > orthanc
diff Core/SQLite/FunctionContext.h @ 2302:f31dfb131dee
fix backward compatibility with SQLite < 3.19.0
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 10 Jul 2017 11:27:55 +0200 |
parents | bde58ce4b41c |
children | fa5ad4368fe3 |
line wrap: on
line diff
--- a/Core/SQLite/FunctionContext.h Mon Jul 10 09:28:30 2017 +0200 +++ b/Core/SQLite/FunctionContext.h Mon Jul 10 11:27:55 2017 +0200 @@ -36,9 +36,6 @@ #include "Statement.h" -struct sqlite3_context; -struct sqlite3_value; - namespace Orthanc { namespace SQLite @@ -50,14 +47,14 @@ private: struct sqlite3_context* context_; unsigned int argc_; - struct sqlite3_value** argv_; + Internals::SQLiteValue** argv_; void CheckIndex(unsigned int index) const; public: FunctionContext(struct sqlite3_context* context, int argc, - struct sqlite3_value** argv); + Internals::SQLiteValue** argv); ColumnType GetColumnType(unsigned int index) const;