curl-curl/include/curl
Viktor Szakats f45bf74b5a
curl/curl.h: replace recursive macros with C++-friendly method to enforce 3 args
Certain uses may still trigger a C compiler warning
`-Wdisabled-macro-expansion` after this, e.g. when the call is wrapped
in the `CURL_IGNORE_DEPRECATION()` macro as seen in docs/examples.

Suggested-by: Kai Pastor
Ref: https://github.com/curl/curl/issues/20682#issuecomment-3949788664

Follow-up to ee9b000438 #20686
Follow-up to daa6b27b4d #20597

Closes #20709
2026-03-21 13:21:06 +01:00
..
curl.h curl/curl.h: replace recursive macros with C++-friendly method to enforce 3 args 2026-03-21 13:21:06 +01:00
curlver.h RELEASE-NOTES: synced 2026-03-20 22:28:50 +01:00
easy.h include: drop 'will' from public headers 2026-03-19 12:02:10 +01:00
header.h tidy-up: miscellaneous 2026-02-25 14:44:56 +01:00
Makefile.am tidy-up: miscellaneous 2026-01-15 13:06:13 +01:00
mprintf.h tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
multi.h include: drop 'will' from public headers 2026-03-19 12:02:10 +01:00
options.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
stdcheaders.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
system.h include: drop 'will' from public headers 2026-03-19 12:02:10 +01:00
typecheck-gcc.h include: drop 'will' from public headers 2026-03-19 12:02:10 +01:00
urlapi.h include: drop 'will' from public headers 2026-03-19 12:02:10 +01:00
websockets.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00