From 0b6091c6550a0293095da80ed95e9ee9db91532d Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Wed, 23 Oct 2019 10:09:45 -0400 Subject: [PATCH] Couple more size_t fixes --- src/SDL2.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SDL2.cs b/src/SDL2.cs index 4b2271f..beb6286 100644 --- a/src/SDL2.cs +++ b/src/SDL2.cs @@ -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,