Created
August 5, 2011 23:02
-
-
Save anujb/1128731 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if MONOTOUCH | |
[DllImport("sqlite3", EntryPoint = "sqlite3_open")] | |
public static extern Result Open(string filename, out IntPtr db); | |
... | |
... | |
... | |
#else | |
[DllImport("sqlite3", EntryPoint = "sqlite3_open", CallingConvention = CallingConvention.Cdecl)] | |
public static extern Result Open(string filename, out IntPtr db); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment