Sean Barrett
2bb4a0accd
Fix trailing whitespace
2020-02-02 11:30:27 -08:00
Sean Barrett
7a69424f15
update version numbers
2020-02-02 11:26:50 -08:00
Andrew Kensler
57b9ea6510
Quell -Wcast-align warnings from Clang
...
The stbi__sbraw() macro in stb_image_write.h causes Clang to spew about 24
warnings complaining that "cast from 'unsigned char *' to 'int *' increases
required alignment from 1 to 4" when compiled with the -Wcast-align option.
In practice, this is spurious so long as STBIW_MALLOC() and STBIW_REALLOC()
follow the usual alignment semantics for malloc() and realloc() in that they
align sufficiently for any built-in type.
To quell the warning, we can cast through a void pointer as an intermediary.
2019-11-16 00:17:00 -08:00
Sean Barrett
ee0ebfc79b
version numbers
2018-01-29 04:59:32 -08:00
Tim Wright
13942348e0
Fixing void * compile error for C++
2017-04-18 19:54:57 -06:00
Sean Barrett
e248e30954
change license to public-domain AND mit (based on twitter vote)
2017-03-03 07:53:07 -08:00
Sean Barrett
538b96d6e2
remove claims of supporting C++ in stretchy_buffer
2016-04-02 03:52:47 -07:00
Craig Donner
ee6978cb68
Slightly modify the public domain license to keep it in the public domain, but make it clear that even when dedications might not be recognized that the code is still usable. Given that this isn't dual-licensing under a different license, I'm hoping this will be acceptable.
2016-02-25 12:55:44 -08:00
Ryan Whitworth
594502e5fa
Added public domain license text
2015-08-01 14:59:39 -04:00
Sean Barrett
3f17b24d90
make sure all libs compile as C++
2015-04-14 03:53:26 -07:00
Sean Barrett
b0d2481b49
added a little more documentation to stretchy_buffer.h and bumped version number
2014-06-01 12:13:50 -07:00
Sean Barrett
76dcd60fd4
update stretchy_buffer version number
2014-06-01 08:24:08 -07:00
Sean Barrett
ca093eda56
add strict-aliasing warnings; update readme to include stretchy_buffer
2014-06-01 08:04:07 -07:00
Sean Barrett
a57dfc50fc
fix bugs in new stretchy buffer code, add stretchy buffer tests
2014-06-01 08:01:01 -07:00
Sean Barrett
509f9777e5
minor doc improvement
2014-05-31 13:34:37 -07:00
Sean Barrett
cf72af7788
header guards, fix faux-null-ptr constant, tweak docs
2014-05-31 13:22:56 -07:00
Sean Barrett
666596ed89
untested rewrite of stretchy_buffer relying on implicit cast from void*
2014-05-31 13:00:39 -07:00
Sean Barrett
5576a5044f
initial check-in
2014-05-31 12:12:34 -07:00