mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-20 21:43:41 +00:00
Rename utils, ss_event, udprelay, winsock, local, server, tunnel, redir
and manager from .c to .cpp. Inside the moved files only the
\snippet{doc} file references and header comments change; snippet
references in doc/*.md, tests/test_cli_docs.py, the build files and
CONTRIBUTION.md follow the new names.
Also cast the Windows-only string literal returned by
get_default_conf(), found by the zig x86_64-windows-gnu build.
Every module of src/ except the unbuilt android.c and the vendored
blake3 is now compiled as C++20. The new .cpp files join the no-heap
ratchet baseline.
27 lines
671 B
Plaintext
27 lines
671 B
Plaintext
# Heap-allocation ratchet for C++ sources converted mechanically from C.
|
|
# Format: <path> <violations>. check_no_heap.py fails if a file gains
|
|
# violations, and also when it loses some, so the number here always goes
|
|
# down. Remove a file once it is rewritten on the src/core primitives.
|
|
src/aead.cpp 4
|
|
src/aead2022.cpp 3
|
|
src/aead2022_udp.cpp 5
|
|
src/cache.cpp 3
|
|
src/crypto.cpp 4
|
|
src/ipset.cpp 3
|
|
src/jconf.cpp 16
|
|
src/json.cpp 2
|
|
src/local.cpp 16
|
|
src/manager.cpp 14
|
|
src/plugin.cpp 3
|
|
src/process.cpp 26
|
|
src/redir.cpp 15
|
|
src/resolv.cpp 6
|
|
src/rule.cpp 2
|
|
src/server.cpp 17
|
|
src/ss_event.cpp 5
|
|
src/ssurl.cpp 3
|
|
src/stream.cpp 3
|
|
src/tunnel.cpp 14
|
|
src/udprelay.cpp 7
|
|
src/utils.cpp 10
|