add credits for last few PR merges
This commit is contained in:
parent
67881b61ab
commit
6f7420a825
14
stb_ds.h
14
stb_ds.h
@ -113,8 +113,8 @@ DOCUMENTATION
|
|||||||
Appends n uninitialized items onto array at the end.
|
Appends n uninitialized items onto array at the end.
|
||||||
Returns a pointer to the first uninitialized item added.
|
Returns a pointer to the first uninitialized item added.
|
||||||
|
|
||||||
arraddnoff:
|
arraddnindex:
|
||||||
size_t arraddnoff(T* a, int n)
|
size_t arraddnindex(T* a, int n)
|
||||||
Appends n uninitialized items onto array at the end.
|
Appends n uninitialized items onto array at the end.
|
||||||
Returns the index of the first uninitialized item added.
|
Returns the index of the first uninitialized item added.
|
||||||
|
|
||||||
@ -370,12 +370,14 @@ CREDITS
|
|||||||
Sean Barrett -- library, idea for dynamic array API/implementation
|
Sean Barrett -- library, idea for dynamic array API/implementation
|
||||||
Per Vognsen -- idea for hash table API/implementation
|
Per Vognsen -- idea for hash table API/implementation
|
||||||
Rafael Sachetto -- arrpop()
|
Rafael Sachetto -- arrpop()
|
||||||
|
github:HeroicKatora -- arraddn() reworking
|
||||||
|
|
||||||
Bugfixes:
|
Bugfixes:
|
||||||
Andy Durdin
|
Andy Durdin
|
||||||
Shane Liesegang
|
Shane Liesegang
|
||||||
Vinh Truong
|
Vinh Truong
|
||||||
Andreas Molzer
|
Andreas Molzer
|
||||||
|
github:hashitaku
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef STBDS_UNIT_TESTS
|
#ifdef STBDS_UNIT_TESTS
|
||||||
@ -395,10 +397,9 @@ CREDITS
|
|||||||
#define arrpush stbds_arrput
|
#define arrpush stbds_arrput
|
||||||
#define arrpop stbds_arrpop
|
#define arrpop stbds_arrpop
|
||||||
#define arrfree stbds_arrfree
|
#define arrfree stbds_arrfree
|
||||||
|
#define arraddn stbds_arraddn // deprecated, use one of the following instead:
|
||||||
#define arraddnptr stbds_arraddnptr
|
#define arraddnptr stbds_arraddnptr
|
||||||
#define arraddnoff stbds_arraddnoff
|
#define arraddnindex stbds_arraddnindex
|
||||||
// deprecated
|
|
||||||
#define arraddn stbds_arraddn
|
|
||||||
#define arrsetlen stbds_arrsetlen
|
#define arrsetlen stbds_arrsetlen
|
||||||
#define arrlast stbds_arrlast
|
#define arrlast stbds_arrlast
|
||||||
#define arrins stbds_arrins
|
#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_arrput(a,v) (stbds_arrmaybegrow(a,1), (a)[stbds_header(a)->length++] = (v))
|
||||||
#define stbds_arrpush stbds_arrput // synonym
|
#define stbds_arrpush stbds_arrput // synonym
|
||||||
#define stbds_arrpop(a) (stbds_header(a)->length--, (a)[stbds_header(a)->length])
|
#define stbds_arrpop(a) (stbds_header(a)->length--, (a)[stbds_header(a)->length])
|
||||||
// deprecated
|
#define stbds_arraddn(a,n) ((void)(stbds_arraddnoff(a, n))) // deprecated, use one of the following instead:
|
||||||
#define stbds_arraddn(a,n) ((void)(stbds_arraddnoff(a, n)))
|
|
||||||
#define stbds_arraddnptr(a,n) (stbds_arrmaybegrow(a,n), stbds_header(a)->length += (n), &(a)[stbds_header(a)->length-(n)])
|
#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_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])
|
#define stbds_arrlast(a) ((a)[stbds_header(a)->length-1])
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
// contributors:
|
// contributors:
|
||||||
// Kevin Schmidt (#defines for "freestanding" compilation)
|
// Kevin Schmidt (#defines for "freestanding" compilation)
|
||||||
// github:ppiastucki (BC4 support)
|
// github:ppiastucki (BC4 support)
|
||||||
|
// Ignacio Castano - improve DXT endpoint quantization
|
||||||
//
|
//
|
||||||
// LICENSE
|
// LICENSE
|
||||||
//
|
//
|
||||||
|
@ -107,9 +107,8 @@ RECENT REVISION HISTORY:
|
|||||||
Oriol Ferrer Mesia Josh Tobin Matthew Gregan github:phprus
|
Oriol Ferrer Mesia Josh Tobin Matthew Gregan github:phprus
|
||||||
Julian Raschke Gregory Mullen Baldur Karlsson github:poppolopoppo
|
Julian Raschke Gregory Mullen Baldur Karlsson github:poppolopoppo
|
||||||
Christian Floisand Kevin Schmidt JR Smith github:darealshinji
|
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
|
Blazej Dariusz Roszkowski Alexander Veselov
|
||||||
Luca Sas
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef STBI_INCLUDE_STB_IMAGE_H
|
#ifndef STBI_INCLUDE_STB_IMAGE_H
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
// Phillip Bennefall Rohit Thiago Goulart
|
// Phillip Bennefall Rohit Thiago Goulart
|
||||||
// github:manxorist saga musix github:infatum
|
// github:manxorist saga musix github:infatum
|
||||||
// Timur Gagiev Maxwell Koo Peter Waller
|
// Timur Gagiev Maxwell Koo Peter Waller
|
||||||
// github:audinowho Dougall Johnson
|
// github:audinowho Dougall Johnson David Reid
|
||||||
//
|
//
|
||||||
// Partial history:
|
// Partial history:
|
||||||
// 1.19 - 2020-02-05 - warnings
|
// 1.19 - 2020-02-05 - warnings
|
||||||
|
Loading…
Reference in New Issue
Block a user