Add cdecl convention to a callback

pull/2/head
Francesco Bertolaccini 2016-02-08 14:15:48 +01:00
parent 10f87aa9ce
commit 771b52e102
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ namespace SharpPhysFS
public delegate IntPtr ReallocDelegate(IntPtr ptr, ulong size);
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public delegate void FreeDelegate(IntPtr ptr);
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public delegate void StringCallback(IntPtr data, string str);
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public delegate void EnumFilesCallback(IntPtr data, string origdir, string fname);