mirror of
https://github.com/curl/curl.git
synced 2026-08-24 11:43:38 +03:00
cmake: add C++ integration test
Also:
- include code to verify a C++-specific public header regression
reported in 8.19.0-rc2.
- curl/curl.h: mention C++ global namespace in comment.
- GHA/dist: add CI job for C++. Runtime: 15 seconds.
Follow-up to ee9b000438 #20686
Ref: #20682
Closes #20687
This commit is contained in:
parent
ee9b000438
commit
6ad50dc285
6 changed files with 67 additions and 11 deletions
|
|
@ -3329,8 +3329,8 @@ CURL_EXTERN CURLcode curl_easy_ssls_export(CURL *handle,
|
|||
#if defined(__STDC__) && (__STDC__ >= 1)
|
||||
/* This preprocessor magic that replaces a call with the exact same call is
|
||||
only done to make sure application authors pass exactly three arguments
|
||||
to these functions. Use recursive macros to allow reusing these symbols
|
||||
as C++ method names. */
|
||||
to these functions. Use recursive macros to allow using these symbols via
|
||||
the C++ global namespace '::' or reuse them as method names. */
|
||||
#define curl_easy_setopt(handle, opt, param) \
|
||||
curl_easy_setopt(handle, opt, param)
|
||||
#define curl_easy_getinfo(handle, info, arg) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue