AZero13
AZero13
macOS and iOS are unique in that they share a common base, and now that one can run iOS on Mac, it would be beneficial to let iOS have it...
## Fixes # - Rewrote operations to align more literally with the function's intentions - Clarify what happens in support.cpp
Minimum required version is still unchanged.
Successfully migrated all calls
All of these nonfunctional changes were suggested by clang-tidy, especially replacing new with malloc when necessary and doing the appropriate responses instead of just throwing an unhandled error.
http_uri_status_t is the correct type, not int
Some compilers will throw errors otherwise
It is only assigned to value of 0 anyway, and never used or appears ever.
This means compilers, especially the much older ones compiling this software, doesn't have to go out of its way to use a register where it doesn't have to.
The entire point of the function is to open a file to import it, and then close it. The function will not run if ppd is NULL and it shouldn't...