[vala-extra-vapis/tintou/sdl2-fixedlength] sdl2: Fix declaration position of fixed-length array
- From: Corentin Noël <corentinnoel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala-extra-vapis/tintou/sdl2-fixedlength] sdl2: Fix declaration position of fixed-length array
- Date: Wed, 5 Aug 2020 09:56:02 +0000 (UTC)
commit f26e9075e83d988c1ca075f90e2e08b4e4a48e65
Author: Corentin Noël <corentin elementary io>
Date: Wed Aug 5 11:55:13 2020 +0200
sdl2: Fix declaration position of fixed-length array
sdl2.vapi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/sdl2.vapi b/sdl2.vapi
index 251c9cc..e3bbeaf 100644
--- a/sdl2.vapi
+++ b/sdl2.vapi
@@ -3085,7 +3085,7 @@ namespace SDL {
//Convenience method, use guid_buffer if the GUID is truncated here
public static string get_guid_string (Input.JoystickGUID guid) {
- uint8[1024] buf;
+ uint8 buf[1024];
get_guid_buffer (guid, out buf);
return (string)buf;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]