diff options
| author | Andre Weissflog <floooh@gmail.com> | 2019-07-07 01:20:10 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2019-07-07 01:20:10 +0200 |
| commit | 2c5ac0a83d76cf6f13b07c73334840a2bcbd607a (patch) | |
| tree | 50413f1523b64b8aa456d0213bea158b869e5257 | |
| parent | 55bfc1ff12064ee914e57bba9e703e7bb72a82a6 (diff) | |
sokol_fetch.h: more doc typos fixed
| -rw-r--r-- | sokol_fetch.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sokol_fetch.h b/sokol_fetch.h index 704c06b0..4d1355fc 100644 --- a/sokol_fetch.h +++ b/sokol_fetch.h @@ -95,17 +95,17 @@ void response_callback(const sfetch_response_t* response) { if (response->fetched) { // data has been loaded, and is available via - // .buffer_ptr and .fetched_size: + // 'buffer_ptr' and 'fetched_size': const void* data = response->buffer_ptr; uint64_t num_bytes = response->fetched_size; } - if (response.finished) { - // the .finished-flag is the catch-all flag for when the request + if (response->finished) { + // the 'finished'-flag is the catch-all flag for when the request // is finished, no matter if loading was successful of failed, // so any cleanup-work should happen here... ... - if (response.failed) { - // .failed is true in (addition to .finished) if something + if (response->failed) { + // 'failed' is true in (addition to 'finished') if something // went wrong (file doesn't exist, or less bytes could be // read from the file than expected) } |