diff options
| author | Andre Weissflog <floooh@gmail.com> | 2020-05-28 20:01:44 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2020-05-28 20:01:44 +0200 |
| commit | 1cf3dd5f2173ac9b8a0f8744991c1ea5ea1d0a7f (patch) | |
| tree | c9ceeac558fc3a8dc80e85a061667baed97c556f /sokol_fetch.h | |
| parent | f09c51b099da2569895ef13a7163581ff37f8b68 (diff) | |
add missing C++ reference-based function wrappers
Diffstat (limited to 'sokol_fetch.h')
| -rw-r--r-- | sokol_fetch.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sokol_fetch.h b/sokol_fetch.h index 68ca33ed..8db9cfbf 100644 --- a/sokol_fetch.h +++ b/sokol_fetch.h @@ -939,6 +939,7 @@ SOKOL_API_DECL void sfetch_continue(sfetch_handle_t h); /* reference-based equivalents for c++ */ inline void sfetch_setup(const sfetch_desc_t& desc) { return sfetch_setup(&desc); } +inline sfetch_handle_t sfetch_send(const sfetch_request_t& request) { return sfetch_send(&request); } #endif #endif // SOKOL_FETCH_INCLUDED |