Added headers to some SDL_test_*.h files

This commit is contained in:
Petar Popovic 2024-08-31 20:27:01 +02:00 committed by Sam Lantinga
parent b17ca32d8c
commit d1739ce3a8
6 changed files with 14 additions and 0 deletions

View file

@ -34,6 +34,8 @@
#ifndef SDL_test_assert_h_ #ifndef SDL_test_assert_h_
#define SDL_test_assert_h_ #define SDL_test_assert_h_
#include <SDL3/SDL_stdinc.h>
#include <SDL3/SDL_begin_code.h> #include <SDL3/SDL_begin_code.h>
/* Set up for C function definitions, even when using C++ */ /* Set up for C function definitions, even when using C++ */
#ifdef __cplusplus #ifdef __cplusplus

View file

@ -30,6 +30,10 @@
#ifndef SDL_test_font_h_ #ifndef SDL_test_font_h_
#define SDL_test_font_h_ #define SDL_test_font_h_
#include <SDL3/SDL_stdinc.h>
#include <SDL3/SDL_rect.h>
#include <SDL3/SDL_render.h>
#include <SDL3/SDL_begin_code.h> #include <SDL3/SDL_begin_code.h>
/* Set up for C function definitions, even when using C++ */ /* Set up for C function definitions, even when using C++ */
#ifdef __cplusplus #ifdef __cplusplus

View file

@ -34,6 +34,8 @@
#ifndef SDL_test_fuzzer_h_ #ifndef SDL_test_fuzzer_h_
#define SDL_test_fuzzer_h_ #define SDL_test_fuzzer_h_
#include <SDL3/SDL_stdinc.h>
#include <SDL3/SDL_begin_code.h> #include <SDL3/SDL_begin_code.h>
/* Set up for C function definitions, even when using C++ */ /* Set up for C function definitions, even when using C++ */
#ifdef __cplusplus #ifdef __cplusplus

View file

@ -36,6 +36,8 @@
#ifndef SDL_test_h_arness_h #ifndef SDL_test_h_arness_h
#define SDL_test_h_arness_h #define SDL_test_h_arness_h
#include <SDL3/SDL_stdinc.h>
#include <SDL3/SDL_begin_code.h> #include <SDL3/SDL_begin_code.h>
/* Set up for C function definitions, even when using C++ */ /* Set up for C function definitions, even when using C++ */
#ifdef __cplusplus #ifdef __cplusplus

View file

@ -36,6 +36,8 @@
#ifndef SDL_test_log_h_ #ifndef SDL_test_log_h_
#define SDL_test_log_h_ #define SDL_test_log_h_
#include <SDL3/SDL_stdinc.h>
#include <SDL3/SDL_begin_code.h> #include <SDL3/SDL_begin_code.h>
/* Set up for C function definitions, even when using C++ */ /* Set up for C function definitions, even when using C++ */
#ifdef __cplusplus #ifdef __cplusplus

View file

@ -56,6 +56,8 @@
#ifndef SDL_test_md5_h_ #ifndef SDL_test_md5_h_
#define SDL_test_md5_h_ #define SDL_test_md5_h_
#include <SDL3/SDL_stdinc.h>
#include <SDL3/SDL_begin_code.h> #include <SDL3/SDL_begin_code.h>
/* Set up for C function definitions, even when using C++ */ /* Set up for C function definitions, even when using C++ */
#ifdef __cplusplus #ifdef __cplusplus