diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-07-31 11:48:44 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-07-31 22:59:22 +0200 |
commit | d6604524ad24daf4581efbe0020da058d2b3af84 (patch) | |
tree | ccb3e8437dff90dcf5bd727f3a00def0c56b971f /docs/examples/sampleconv.c | |
parent | 2bbed9c4f0d2c192cd3b3b61fd6a1c21911936c3 (diff) |
include: revert 9adf3c4 and make public types void * again
Many applications assume the actual contents of the public types and use
that do for example forward declarations (saving them from including our
public header) which then breaks when we switch from void * to a struct
*.
I'm not convinced we were wrong, but since this practise seems
widespread enough I'm willing to (partly) step down.
Now libcurl uses the struct itself when it is built and it allows
applications to use the struct type if CURL_STRICTER is defined at the
time of the #include.
Reported-by: Peter Frühberger
Fixes #926
Diffstat (limited to 'docs/examples/sampleconv.c')
0 files changed, 0 insertions, 0 deletions