summaryrefslogtreecommitdiffstats
path: root/src/sqlite-extension-func.hh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/sqlite-extension-func.hh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sqlite-extension-func.hh b/src/sqlite-extension-func.hh
index 1e62a6a..fcae4fd 100644
--- a/src/sqlite-extension-func.hh
+++ b/src/sqlite-extension-func.hh
@@ -40,6 +40,10 @@
#include "help_text.hh"
+#ifdef HAVE_RUST_DEPS
+# include "prqlc.cxx.hh"
+#endif
+
struct FuncDef {
const char* zName{nullptr};
signed char nArg{0};
@@ -95,6 +99,10 @@ extern sqlite_registration_func_t sqlite_registration_funcs[];
int register_sqlite_funcs(sqlite3* db, sqlite_registration_func_t* reg_funcs);
+#ifdef HAVE_RUST_DEPS
+extern rust::Vec<prqlc::SourceTreeElement> sqlite_extension_prql;
+#endif
+
extern "C"
{
int sqlite3_db_dump(