64 #ifndef STBI_INCLUDE_STB_IMAGE_H
65 #define STBI_INCLUDE_STB_IMAGE_H
187 #ifndef STBI_NO_STDIO
189 #if defined(_MSC_VER) && _MSC_VER >= 0x1400
190 #define _CRT_SECURE_NO_WARNINGS // suppress bogus warnings about fopen()
196 #define STBI_VERSION 1
225 #ifndef STBI_NO_STDIO
226 extern stbi_uc *
stbi_load (
char const *filename,
int *x,
int *y,
int *comp,
int req_comp);
233 int (*read) (
void *user,
char *data,
int size);
234 void (*skip) (
void *user,
unsigned n);
235 int (*eof) (
void *user);
243 #ifndef STBI_NO_STDIO
244 extern float *
stbi_loadf (
char const *filename,
int *x,
int *y,
int *comp,
int req_comp);
255 #endif // STBI_NO_HDR
260 #ifndef STBI_NO_STDIO
263 #endif // STBI_NO_STDIO
277 #ifndef STBI_NO_STDIO
278 extern int stbi_info (
char const *filename,
int *x,
int *y,
int *comp);
332 #endif // STBI_INCLUDE_STB_IMAGE_H