-
-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update typedefs of C-style function pointers to std::function
This allows for the callback to maintain their own state (without recourse to globals). In addition, added some incidental clean up: - URICallback, passed by pointer, is now asserted to be non-null before accessing. - FSCallbacks are validated when they are set (in debug builds).
- Loading branch information
1 parent
f03fe26
commit e08df72
Showing
1 changed file
with
59 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters