Browse Source

update stretchy_buffer version number

Sean Barrett 11 năm trước cách đây
mục cha
commit
76dcd60fd4
2 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 1 1
      README.md
  2. 2 1
      stretchy_buffer.h

+ 1 - 1
README.md

@@ -9,7 +9,7 @@ library    | lastest version | category | description
 **stb_image.c** | 1.35 | graphics | image loading/decoding from file/memory: JPG, PNG, TGA, BMP, PSD, GIF, HDR, PIC
 **stb_truetype.h** | 0.8 | graphics | parse, decode, and rasterize characters from truetype fonts
 **stb_image_write.h** | 0.93 | graphics | image writing to disk: PNG, TGA, BMP
-**stretchy_buffer.h** | 0.9 | utility | typesafe dynamic array for C (i.e. approximation to vector<>), doesn't compile as C++
+**stretchy_buffer.h** | 1.0 | utility | typesafe dynamic array for C (i.e. approximation to vector<>), doesn't compile as C++
 **stb_textedit.h** | 1.2 | UI | guts of a text editor for games etc implementing them from scratch
 **stb_dxt.h** | 1.04 | 3D&nbsp;graphics | Fabian "ryg" Giesen's real-time DXT compressor
 **stb_perlin.h** | 0.2 | 3D&nbsp;graphics | revised Perlin noise (3D input, 1D output)

+ 2 - 1
stretchy_buffer.h

@@ -1,7 +1,8 @@
-// stretchy_buffer.h - v0.9 - public domain
+// stretchy_buffer.h - v1.0 - public domain - nothings.org/stb
 // a vector<>-like dynamic array for C
 //
 // version history:
+//      1.0 -  fixed bug in the version I posted prematurely
 //      0.9 -  rewrite to try to avoid strict-aliasing optimization
 //             issues, but won't compile as C++
 //