CSharp daveSwapIed_16 incorrect marshalling
Status: Beta
Brought to you by:
lettoz
The dotnet wrapper daveSwapIed_16 seems to be incorrect and returns undefined results:
[DllImport("libnodave.dll"/, PreserveSig=false / )]
public static extern int daveSwapIed_16(int i);
The input and return type should be short:
[DllImport("libnodave.dll"/, PreserveSig=false / )]
public static extern short daveSwapIed_16(short i);
Recompiled the wrapper and tested seems to work correctly