Couple more size_t fixes

This commit is contained in:
Ethan Lee 2019-10-23 10:09:45 -04:00
parent 3185ae7eba
commit 0b6091c655

View file

@ -157,7 +157,7 @@ namespace SDL2
);
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public delegate uint SDLRWopsReadCallback(
public delegate IntPtr SDLRWopsReadCallback(
IntPtr context,
IntPtr ptr,
IntPtr size,
@ -165,7 +165,7 @@ namespace SDL2
);
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public delegate uint SDLRWopsWriteCallback(
public delegate IntPtr SDLRWopsWriteCallback(
IntPtr context,
IntPtr ptr,
IntPtr size,