Added a data2 field to the SDL_RWops::hidden::unknown.
authorRyan C. Gordon <icculus@icculus.org>
Sat, 13 Apr 2013 20:43:32 -0400
changeset 7063 bea100d73d13
parent 7062 c0a739679bbd
child 7064 239ce872e8d4
child 8460 f483e8bdae3c
Added a data2 field to the SDL_RWops::hidden::unknown. This shouldn't change the ABI, since this struct had space left in the union.
include/SDL_rwops.h
--- a/include/SDL_rwops.h	Sat Apr 13 09:45:39 2013 -0700
+++ b/include/SDL_rwops.h	Sat Apr 13 20:43:32 2013 -0400
@@ -138,6 +138,7 @@
         struct
         {
             void *data1;
+            int data2;
         } unknown;
     } hidden;