File: testutils.h

package info (click to toggle)
libsdl2 2.26.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 80,452 kB
  • sloc: ansic: 293,898; cpp: 188,785; objc: 10,375; xml: 6,368; sh: 5,171; perl: 1,998; makefile: 944; asm: 661; javascript: 286; python: 109
file content (17 lines) | stat: -rw-r--r-- 430 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
Copyright 1997-2023 Sam Lantinga
Copyright 2022 Collabora Ltd.
SPDX-License-Identifier: Zlib
*/

#ifndef TESTUTILS_H
#define TESTUTILS_H

#include "SDL.h"

SDL_Texture *LoadTexture(SDL_Renderer *renderer, const char *file, SDL_bool transparent,
                         int *width_out, int *height_out);
char *GetNearbyFilename(const char *file);
char *GetResourceFilename(const char *user_specified, const char *def);

#endif