diff options
| author | Andre Weissflog <floooh@gmail.com> | 2020-11-28 17:21:11 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2020-11-28 17:21:11 +0100 |
| commit | 22342d33b0a15f8b19d559f7c093472272ebda68 (patch) | |
| tree | c5d00b9424072792a330163d2a672acdf050af24 /README.md | |
| parent | d54c14c171732f30fbb3cbeb8efd75b8389d22f8 (diff) | |
mention the config-define changes in the README
Diffstat (limited to 'README.md')
| -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 |