diff options
author | John Ankarström <john@ankarstrom.se> | 2022-07-18 03:25:00 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-07-18 03:25:00 +0200 |
commit | 53abfac6acd04dff80ec6c8cfb0dd53f2f74dadb (patch) | |
tree | e0e6ef0926e3fb77a96874fa39d7d71fcceae942 /.gitignore | |
parent | 03d9db8d5ff22faa27ab25264727bb09ba87d66d (diff) | |
download | EpisodeBrowser-53abfac6acd04dff80ec6c8cfb0dd53f2f74dadb.tar.gz |
Improve Library::GetProcAddress.
It isn't really more safe, but it removes the need for a confusing
function pointer cast, which is easy to get wrong. As far as the
compiler is concerned, the result is literally the same, but it does
force the caller to (indirectly, via the template parameter) cast the
return value, which may be a good thing.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions