remove duplicate typedef of stbi_uc
This commit is contained in:
parent
9e63c50707
commit
df3dcb5d0d
@ -1,4 +1,4 @@
|
|||||||
/* stb_image - v1.36 - public domain JPEG/PNG reader - http://nothings.org/stb_image.c
|
/* stb_image - v1.37 - public domain JPEG/PNG reader - http://nothings.org/stb_image.c
|
||||||
when you control the images you're loading
|
when you control the images you're loading
|
||||||
no warranty implied; use at your own risk
|
no warranty implied; use at your own risk
|
||||||
|
|
||||||
@ -26,6 +26,7 @@
|
|||||||
- overridable dequantizing-IDCT, YCbCr-to-RGB conversion (define STBI_SIMD)
|
- overridable dequantizing-IDCT, YCbCr-to-RGB conversion (define STBI_SIMD)
|
||||||
|
|
||||||
Latest revisions:
|
Latest revisions:
|
||||||
|
1.37 (2014-06-04) remove duplicate typedef
|
||||||
1.36 (2014-06-03) converted to header file, allow reading incorrect iphoned-images without iphone flag
|
1.36 (2014-06-03) converted to header file, allow reading incorrect iphoned-images without iphone flag
|
||||||
1.35 (2014-05-27) warnings, bugfixes, TGA optimization, etc
|
1.35 (2014-05-27) warnings, bugfixes, TGA optimization, etc
|
||||||
1.34 (unknown ) warning fix
|
1.34 (unknown ) warning fix
|
||||||
@ -369,14 +370,12 @@ STBIDEF void stbi_install_YCbCr_to_RGB(stbi_YCbCr_to_RGB_run func);
|
|||||||
|
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
typedef unsigned char stbi_uc;
|
|
||||||
typedef unsigned short stbi__uint16;
|
typedef unsigned short stbi__uint16;
|
||||||
typedef signed short stbi__int16;
|
typedef signed short stbi__int16;
|
||||||
typedef unsigned int stbi__uint32;
|
typedef unsigned int stbi__uint32;
|
||||||
typedef signed int stbi__int32;
|
typedef signed int stbi__int32;
|
||||||
#else
|
#else
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
typedef uint8_t stbi_uc;
|
|
||||||
typedef uint16_t stbi__uint16;
|
typedef uint16_t stbi__uint16;
|
||||||
typedef int16_t stbi__int16;
|
typedef int16_t stbi__int16;
|
||||||
typedef uint32_t stbi__uint32;
|
typedef uint32_t stbi__uint32;
|
||||||
@ -4535,6 +4534,8 @@ STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
revision history:
|
revision history:
|
||||||
|
1.37 (2014-06-04)
|
||||||
|
remove duplicate typedef
|
||||||
1.36 (2014-06-03)
|
1.36 (2014-06-03)
|
||||||
convert to header file single-file library
|
convert to header file single-file library
|
||||||
if de-iphone isn't set, load iphone images color-swapped instead of returning NULL
|
if de-iphone isn't set, load iphone images color-swapped instead of returning NULL
|
||||||
|
Loading…
Reference in New Issue
Block a user