Fix pszGUID string parameter

This commit is contained in:
Ethan Lee 2014-05-12 15:47:41 -04:00
parent 3ea9ae0ede
commit eb23cc18a7

View file

@ -4547,8 +4547,7 @@ namespace SDL2
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void SDL_JoystickGetGUIDString( public static extern void SDL_JoystickGetGUIDString(
SDL_JoystickGUID guid, SDL_JoystickGUID guid,
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(LPUtf8StrMarshaler))] char[] pszGUID,
System.Text.StringBuilder pszGUID,
int cbGUID int cbGUID
); );