comparison Core/SQLite/FunctionContext.h @ 2301:bde58ce4b41c

fix Debian FTBFS #867789
author jodogne
date Mon, 10 Jul 2017 09:28:30 +0200
parents b1291df2f780
children f31dfb131dee
comparison
equal deleted inserted replaced
2300:cc92410cbed2 2301:bde58ce4b41c
35 #pragma once 35 #pragma once
36 36
37 #include "Statement.h" 37 #include "Statement.h"
38 38
39 struct sqlite3_context; 39 struct sqlite3_context;
40 struct Mem; // This corresponds to the opaque type "sqlite3_value" 40 struct sqlite3_value;
41 41
42 namespace Orthanc 42 namespace Orthanc
43 { 43 {
44 namespace SQLite 44 namespace SQLite
45 { 45 {
48 friend class Connection; 48 friend class Connection;
49 49
50 private: 50 private:
51 struct sqlite3_context* context_; 51 struct sqlite3_context* context_;
52 unsigned int argc_; 52 unsigned int argc_;
53 struct ::Mem** argv_; 53 struct sqlite3_value** argv_;
54 54
55 void CheckIndex(unsigned int index) const; 55 void CheckIndex(unsigned int index) const;
56 56
57 public: 57 public:
58 FunctionContext(struct sqlite3_context* context, 58 FunctionContext(struct sqlite3_context* context,
59 int argc, 59 int argc,
60 struct ::Mem** argv); 60 struct sqlite3_value** argv);
61 61
62 ColumnType GetColumnType(unsigned int index) const; 62 ColumnType GetColumnType(unsigned int index) const;
63 63
64 unsigned int GetParameterCount() const 64 unsigned int GetParameterCount() const
65 { 65 {