diff options
author | iphydf <iphydf@users.noreply.github.com> | 2020-03-14 03:49:28 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2020-03-14 13:48:56 +0000 |
commit | 8795c5f987e2bd716d59a96418f1c7f6f9e83839 (patch) | |
tree | e3650c76847df0871e853964a9c54c16757b2205 /toxcore/tox.api.h | |
parent | 94d98ddd863279d5bf811d0107d73c373380dda2 (diff) |
Avoid casting back and forth between void-ptr.
In windows network code, we implement inet_pton and inet_ntop, which take
void pointers. We can do slightly better because we already know the type
when we call these functions, so we can avoid casting between void
pointer and the addr struct types.
Diffstat (limited to 'toxcore/tox.api.h')
0 files changed, 0 insertions, 0 deletions