- .NET API: fixed from wrong function name SqliteLogStorage_createInstanceEx to SqliteLogStorage_createInstance

pull/535/head
Michael Zillgith 11 months ago
parent c058cd4aa9
commit 4913fd158d

@ -2157,13 +2157,13 @@ namespace IEC61850
public static class SqliteLogStorage
{
[DllImport("iec61850", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr SqliteLogStorage_createInstanceEx(string filename);
static extern IntPtr SqliteLogStorage_createInstance(string filename);
public static LogStorage CreateLogStorage(string filename)
{
try
{
IntPtr nativeInstance = SqliteLogStorage_createInstanceEx(filename);
IntPtr nativeInstance = SqliteLogStorage_createInstance(filename);
if (nativeInstance != IntPtr.Zero)
return new LogStorage(nativeInstance);

Loading…
Cancel
Save