From 6f7420a8257fce547b79a855c11bafc163f0088a Mon Sep 17 00:00:00 2001 From: Sean Barrett Date: Mon, 13 Jul 2020 02:59:10 -0700 Subject: [PATCH] add credits for last few PR merges --- stb_ds.h | 14 +++++++------- stb_dxt.h | 1 + stb_image.h | 3 +-- stb_vorbis.c | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/stb_ds.h b/stb_ds.h index 04ecb27..f34c2ad 100644 --- a/stb_ds.h +++ b/stb_ds.h @@ -113,8 +113,8 @@ DOCUMENTATION Appends n uninitialized items onto array at the end. Returns a pointer to the first uninitialized item added. - arraddnoff: - size_t arraddnoff(T* a, int n) + arraddnindex: + size_t arraddnindex(T* a, int n) Appends n uninitialized items onto array at the end. Returns the index of the first uninitialized item added. @@ -370,12 +370,14 @@ CREDITS Sean Barrett -- library, idea for dynamic array API/implementation Per Vognsen -- idea for hash table API/implementation Rafael Sachetto -- arrpop() + github:HeroicKatora -- arraddn() reworking Bugfixes: Andy Durdin Shane Liesegang Vinh Truong Andreas Molzer + github:hashitaku */ #ifdef STBDS_UNIT_TESTS @@ -395,10 +397,9 @@ CREDITS #define arrpush stbds_arrput #define arrpop stbds_arrpop #define arrfree stbds_arrfree +#define arraddn stbds_arraddn // deprecated, use one of the following instead: #define arraddnptr stbds_arraddnptr -#define arraddnoff stbds_arraddnoff -// deprecated -#define arraddn stbds_arraddn +#define arraddnindex stbds_arraddnindex #define arrsetlen stbds_arrsetlen #define arrlast stbds_arrlast #define arrins stbds_arrins @@ -536,8 +537,7 @@ extern void * stbds_shmode_func(size_t elemsize, int mode); #define stbds_arrput(a,v) (stbds_arrmaybegrow(a,1), (a)[stbds_header(a)->length++] = (v)) #define stbds_arrpush stbds_arrput // synonym #define stbds_arrpop(a) (stbds_header(a)->length--, (a)[stbds_header(a)->length]) -// deprecated -#define stbds_arraddn(a,n) ((void)(stbds_arraddnoff(a, n))) +#define stbds_arraddn(a,n) ((void)(stbds_arraddnoff(a, n))) // deprecated, use one of the following instead: #define stbds_arraddnptr(a,n) (stbds_arrmaybegrow(a,n), stbds_header(a)->length += (n), &(a)[stbds_header(a)->length-(n)]) #define stbds_arraddnoff(a,n) (stbds_arrmaybegrow(a,n), stbds_header(a)->length += (n), stbds_header(a)->length-(n)) #define stbds_arrlast(a) ((a)[stbds_header(a)->length-1]) diff --git a/stb_dxt.h b/stb_dxt.h index d738e5a..1a3db9f 100644 --- a/stb_dxt.h +++ b/stb_dxt.h @@ -26,6 +26,7 @@ // contributors: // Kevin Schmidt (#defines for "freestanding" compilation) // github:ppiastucki (BC4 support) +// Ignacio Castano - improve DXT endpoint quantization // // LICENSE // diff --git a/stb_image.h b/stb_image.h index 6b552e1..e2fa28a 100644 --- a/stb_image.h +++ b/stb_image.h @@ -107,9 +107,8 @@ RECENT REVISION HISTORY: Oriol Ferrer Mesia Josh Tobin Matthew Gregan github:phprus Julian Raschke Gregory Mullen Baldur Karlsson github:poppolopoppo Christian Floisand Kevin Schmidt JR Smith github:darealshinji - Brad Weinberger Matvey Cherevko github:Michaelangel007 + Brad Weinberger Matvey Cherevko Luca Sas github:Michaelangel007 Blazej Dariusz Roszkowski Alexander Veselov - Luca Sas */ #ifndef STBI_INCLUDE_STB_IMAGE_H diff --git a/stb_vorbis.c b/stb_vorbis.c index bc6fbe2..9b0c968 100644 --- a/stb_vorbis.c +++ b/stb_vorbis.c @@ -31,7 +31,7 @@ // Phillip Bennefall Rohit Thiago Goulart // github:manxorist saga musix github:infatum // Timur Gagiev Maxwell Koo Peter Waller -// github:audinowho Dougall Johnson +// github:audinowho Dougall Johnson David Reid // // Partial history: // 1.19 - 2020-02-05 - warnings