There is a native function:
int sqlite3_config(int, ...);
I would like to PInvoke to this function. Currently, I have this declaration:
[DllImport("sqlite3", EntryPoint = "sqlite3_config")]
public static extern Result Config (ConfigOption option);
(Result and ConfigOption are enums of the form enum Result : int { ... }
.)
I am actually only interested in the single parameter version of this function and don't need the other args. Is this correct?
I am also curious as to how you would declare the two argument form (perhaps it would take 2 IntPtrs?).