Skip to content

Instantly share code, notes, and snippets.

@timheuer
Created August 30, 2012 02:00
Show Gist options
  • Save timheuer/3521639 to your computer and use it in GitHub Desktop.
Save timheuer/3521639 to your computer and use it in GitHub Desktop.
diff --git a/src/SQLite.cs b/src/SQLite.cs
index be550e8..164e313 100644
--- a/src/SQLite.cs
+++ b/src/SQLite.cs
@@ -2417,6 +2417,9 @@ namespace SQLite
[DllImport("sqlite3", EntryPoint = "sqlite3_config", CallingConvention=CallingConvention.Cdecl)]
public static extern Result Config (ConfigOption option);
+
+ [DllImport("sqlite3", EntryPoint = "sqlite3_win32_set_directory", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Unicode)]
+ public static extern int SetDirectory (uint directoryType, string directoryPath);
[DllImport("sqlite3", EntryPoint = "sqlite3_busy_timeout", CallingConvention=CallingConvention.Cdecl)]
public static extern Result BusyTimeout (IntPtr db, int milliseconds);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment