diff options
| -rw-r--r-- | README.md | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -6,7 +6,7 @@ Simple [STB-style](https://github.com/nothings/stb/blob/master/docs/stb_howto.txt) cross-platform libraries for C and C++, written in C. -[See what's new](#updates) (**17-Nov-2020** new utility header: sokol_shape.h) +[See what's new](#updates) (**28-Nov-2020** per-header SOKOL_IMPL and SOKOL_API_DECL macros) [Live Samples](https://floooh.github.io/sokol-html5/index.html) via WASM. @@ -439,6 +439,17 @@ Emulators](https://floooh.github.io/tiny8bit/) for more interesting usage exampl # Updates +- **22-Nov-2020**: In addition to the generic SOKOL_API_DECL and SOKOL_IMPL +macros there are now header-specific versions SOKOL_xxx_API_DECL and +SOKOL_xxx_IMPL (for instance SOKOL_GFX_API_DECL and SOKOL_GFX_IMPL). The +original motivation for splitting the SOKOL_API_DECL macros up is described +here: https://github.com/floooh/sokol/issues/428). The same change for +SOKOL_IMPL also finally unifies the approach used in the utility headers (in +the ```util``` subdirectory), which exclusively used the SOKOL_xxx_IMPL +pattern with the core headers which exclusively used SOKOL_IMPL before +(all headers accept both patterns now). +Many thanks to @iboB for providing the API_DECL PR! + - **17-Nov-2020**: A new utility header **sokol_shape.h** to generate vertices+indices for simple shapes (plane, box, sphere, cylinder and torus), which seamlessly plug into the sokol_gfx.h resource creation functions. As |