From df3dcb5d0dd2bf41e3f16179e0d31188ade6c58c Mon Sep 17 00:00:00 2001 From: Sean Barrett Date: Wed, 4 Jun 2014 17:56:18 -0700 Subject: [PATCH] remove duplicate typedef of stbi_uc --- stb_image.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/stb_image.h b/stb_image.h index b562eff..74f5c51 100644 --- a/stb_image.h +++ b/stb_image.h @@ -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 no warranty implied; use at your own risk @@ -26,6 +26,7 @@ - overridable dequantizing-IDCT, YCbCr-to-RGB conversion (define STBI_SIMD) 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.35 (2014-05-27) warnings, bugfixes, TGA optimization, etc 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 -typedef unsigned char stbi_uc; typedef unsigned short stbi__uint16; typedef signed short stbi__int16; typedef unsigned int stbi__uint32; typedef signed int stbi__int32; #else #include -typedef uint8_t stbi_uc; typedef uint16_t stbi__uint16; typedef int16_t stbi__int16; 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: + 1.37 (2014-06-04) + remove duplicate typedef 1.36 (2014-06-03) convert to header file single-file library if de-iphone isn't set, load iphone images color-swapped instead of returning NULL