[vala-extra-vapis/tintou/sdl2] sdl2: fix array brackets position



commit fba6c83de19711ff4b99cb51242afe2be0d31c74
Author: Corentin Noël <corentin elementary io>
Date:   Sat Mar 14 14:19:08 2020 +0100

    sdl2: fix array brackets position
    
    Prevents the error with inline allocated array as field requiering to have fixed length

 sdl2.vapi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/sdl2.vapi b/sdl2.vapi
index bcfb5f2..bca6565 100644
--- a/sdl2.vapi
+++ b/sdl2.vapi
@@ -2695,7 +2695,7 @@ namespace SDL {
                        [CCode (cname = "SDL_MessageBoxColorScheme", destroy_function = "", cheader_filename 
= "SDL2/SDL_messagebox.h")]
                        public struct ColorScheme {
                                [CCode (array_length_cexpr = "SDL_MessageBoxColorType.MAX", array_length_type 
= "int")]
-                               Video.MessageBox.Color colors[];
+                               Video.MessageBox.Color[] colors;
                        } // MessageBoxColorScheme;
 
                        [CCode (cname = "SDL_MessageBoxData", destroy_function = "", cheader_filename = 
"SDL2/SDL_messagebox.h")]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]