diff options
| author | Andre Weissflog <floooh@gmail.com> | 2021-03-31 18:41:46 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2021-03-31 18:41:46 +0200 |
| commit | 1d747aaf56d73f6b27411bcdc8c270f9ba5ed83e (patch) | |
| tree | 565ecf63f6373ab60cf02c018bd8af2bfa5a22dd | |
| parent | 101a606120cd4e72e5259fa080a8da2e481a0364 (diff) | |
update changelog and readme
| -rw-r--r-- | CHANGELOG.md | 13 | ||||
| -rw-r--r-- | README.md | 2 |
2 files changed, 14 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1adbe967..4b51b8e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ ## Updates +- **31-Mar-2021**: sokol_audio.h on macOS no longer includes system framework + headers (AudioToolbox/AudioToolbox.h), instead the necessary declarations + are embedded directly in sokol_audio.h (to get the old behaviour and + force inclusion of AudioToolbox/AudioToolbox.h, define + ```SAUDIO_OSX_USE_SYSTEM_HEADERS``` before including the sokol_audio.h + implementation). This "fix" is both an experiment and an immediate workaround + for a current issue in Zig's HEAD version (what will eventually become + zig 0.8.0). See this issue for details: https://github.com/ziglang/zig/issues/8360). + The experiment is basically to see whether this approach generally makes sense + (replacing system headers with embedded declarations, so that the sokol headers + only depend on C standard library headers). This approach might + simplify cross-compilation and integration with other languages than C and C++. + - **20-Mar-2021**: The Windows-specific OpenGL loader, and the platform-specific GL header includes have been moved from sokol_app.h to sokol_gfx.h. This means: - In general, the sokol_gfx.h implementation can now simply be included @@ -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**](https://github.com/floooh/sokol/blob/master/CHANGELOG.md) (**20-Mar-2021** sokol_gfx.h no longer depends on an external GL loader) +[**See what's new**](https://github.com/floooh/sokol/blob/master/CHANGELOG.md) (**31-Mar-2021** sokol_audio.h on macOS no longer includes system framework headers by default) ## Examples and Related Projects |