Explorar o código

Including SD_error.h into headers with error-returning functions

Petar Popovic hai 1 ano
pai
achega
3f8dba3713

+ 1 - 0
include/SDL3/SDL_camera.h

@@ -28,6 +28,7 @@
 #ifndef SDL_camera_h_
 #define SDL_camera_h_
 
+#include <SDL3/SDL_error.h>
 #include <SDL3/SDL_video.h>
 
 #include <SDL3/SDL_begin_code.h>

+ 1 - 0
include/SDL3/SDL_clipboard.h

@@ -29,6 +29,7 @@
 #define SDL_clipboard_h_
 
 #include <SDL3/SDL_stdinc.h>
+#include <SDL3/SDL_error.h>
 
 #include <SDL3/SDL_begin_code.h>
 /* Set up for C function definitions, even when using C++ */

+ 1 - 0
include/SDL3/SDL_dialog.h

@@ -22,6 +22,7 @@
 #ifndef SDL_dialog_h_
 #define SDL_dialog_h_
 
+#include <SDL3/SDL_error.h>
 #include <SDL3/SDL_video.h>
 
 #include <SDL3/SDL_begin_code.h>

+ 1 - 0
include/SDL3/SDL_filesystem.h

@@ -29,6 +29,7 @@
 #define SDL_filesystem_h_
 
 #include <SDL3/SDL_stdinc.h>
+#include <SDL3/SDL_error.h>
 
 #include <SDL3/SDL_begin_code.h>
 

+ 1 - 0
include/SDL3/SDL_hidapi.h

@@ -63,6 +63,7 @@
 #define SDL_hidapi_h_
 
 #include <SDL3/SDL_stdinc.h>
+#include <SDL3/SDL_error.h>
 
 #include <SDL3/SDL_begin_code.h>
 /* Set up for C function definitions, even when using C++ */

+ 1 - 0
include/SDL3/SDL_hints.h

@@ -40,6 +40,7 @@
 #define SDL_hints_h_
 
 #include <SDL3/SDL_stdinc.h>
+#include <SDL3/SDL_error.h>
 
 #include <SDL3/SDL_begin_code.h>
 /* Set up for C function definitions, even when using C++ */

+ 1 - 0
include/SDL3/SDL_init.h

@@ -29,6 +29,7 @@
 #define SDL_init_h_
 
 #include <SDL3/SDL_stdinc.h>
+#include <SDL3/SDL_error.h>
 
 #include <SDL3/SDL_begin_code.h>
 /* Set up for C function definitions, even when using C++ */

+ 1 - 0
include/SDL3/SDL_main.h

@@ -24,6 +24,7 @@
 
 #include <SDL3/SDL_platform_defines.h>
 #include <SDL3/SDL_stdinc.h>
+#include <SDL3/SDL_error.h>
 #include <SDL3/SDL_events.h>
 
 /*

+ 1 - 0
include/SDL3/SDL_messagebox.h

@@ -23,6 +23,7 @@
 #define SDL_messagebox_h_
 
 #include <SDL3/SDL_stdinc.h>
+#include <SDL3/SDL_error.h>
 #include <SDL3/SDL_video.h>      /* For SDL_Window */
 
 #include <SDL3/SDL_begin_code.h>

+ 1 - 0
include/SDL3/SDL_misc.h

@@ -29,6 +29,7 @@
 #define SDL_misc_h_
 
 #include <SDL3/SDL_stdinc.h>
+#include <SDL3/SDL_error.h>
 
 #include <SDL3/SDL_begin_code.h>
 

+ 1 - 0
include/SDL3/SDL_pixels.h

@@ -65,6 +65,7 @@
 #define SDL_pixels_h_
 
 #include <SDL3/SDL_stdinc.h>
+#include <SDL3/SDL_error.h>
 #include <SDL3/SDL_endian.h>
 
 #include <SDL3/SDL_begin_code.h>

+ 1 - 0
include/SDL3/SDL_power.h

@@ -29,6 +29,7 @@
  */
 
 #include <SDL3/SDL_stdinc.h>
+#include <SDL3/SDL_error.h>
 
 #include <SDL3/SDL_begin_code.h>
 /* Set up for C function definitions, even when using C++ */

+ 1 - 0
include/SDL3/SDL_properties.h

@@ -29,6 +29,7 @@
 #define SDL_properties_h_
 
 #include <SDL3/SDL_stdinc.h>
+#include <SDL3/SDL_error.h>
 
 #include <SDL3/SDL_begin_code.h>
 /* Set up for C function definitions, even when using C++ */

+ 1 - 0
include/SDL3/SDL_render.h

@@ -49,6 +49,7 @@
 #define SDL_render_h_
 
 #include <SDL3/SDL_stdinc.h>
+#include <SDL3/SDL_error.h>
 #include <SDL3/SDL_events.h>
 #include <SDL3/SDL_properties.h>
 #include <SDL3/SDL_rect.h>

+ 1 - 0
include/SDL3/SDL_storage.h

@@ -29,6 +29,7 @@
 #define SDL_storage_h_
 
 #include <SDL3/SDL_stdinc.h>
+#include <SDL3/SDL_error.h>
 #include <SDL3/SDL_filesystem.h>
 #include <SDL3/SDL_properties.h>
 

+ 1 - 0
include/SDL3/SDL_surface.h

@@ -29,6 +29,7 @@
 #define SDL_surface_h_
 
 #include <SDL3/SDL_stdinc.h>
+#include <SDL3/SDL_error.h>
 #include <SDL3/SDL_blendmode.h>
 #include <SDL3/SDL_pixels.h>
 #include <SDL3/SDL_properties.h>

+ 1 - 0
include/SDL3/SDL_system.h

@@ -29,6 +29,7 @@
 #define SDL_system_h_
 
 #include <SDL3/SDL_stdinc.h>
+#include <SDL3/SDL_error.h>
 #include <SDL3/SDL_keyboard.h>
 #include <SDL3/SDL_render.h>
 #include <SDL3/SDL_video.h>

+ 1 - 0
include/SDL3/SDL_version.h

@@ -29,6 +29,7 @@
 #define SDL_version_h_
 
 #include <SDL3/SDL_stdinc.h>
+#include <SDL3/SDL_error.h>
 
 #include <SDL3/SDL_begin_code.h>
 /* Set up for C function definitions, even when using C++ */

+ 1 - 0
include/SDL3/SDL_video.h

@@ -29,6 +29,7 @@
 #define SDL_video_h_
 
 #include <SDL3/SDL_stdinc.h>
+#include <SDL3/SDL_error.h>
 #include <SDL3/SDL_pixels.h>
 #include <SDL3/SDL_properties.h>
 #include <SDL3/SDL_rect.h>

+ 1 - 0
include/SDL3/SDL_vulkan.h

@@ -28,6 +28,7 @@
 #ifndef SDL_vulkan_h_
 #define SDL_vulkan_h_
 
+#include <SDL3/SDL_error.h>
 #include <SDL3/SDL_video.h>
 
 #include <SDL3/SDL_begin_code.h>