|
1 | | -unit Curl.Lib; |
| 1 | +unit Curl.Lib; |
2 | 2 |
|
3 | 3 | interface |
4 | 4 |
|
5 | 5 | uses |
6 | 6 | Winapi.Winsock2; |
7 | 7 |
|
8 | | -// In C enum’s are int’s, so let’s set enum size to 4. |
| 8 | +// In C enum’s are int’s, so let’s set enum size to 4. |
9 | 9 | {$MINENUMSIZE 4} |
10 | 10 |
|
11 | 11 | const |
@@ -1428,7 +1428,7 @@ TCurlKhKey = record |
1428 | 1428 |
|
1429 | 1429 | // 35 = OBSOLETE |
1430 | 1430 |
|
1431 | | - // Pass a FILE * as parameter. Tell libcurl to use this stream instead |
| 1431 | + // Pass a FILE * as parameter. Tell libcurl to use this stream instead |
1432 | 1432 | // of stderr when showing the progress meter and displaying |
1433 | 1433 | // CURLOPT_VERBOSE data. |
1434 | 1434 | CURLOPT_STDERR = CURLOPTTYPE_OBJECTPOINT + 37, |
@@ -1690,6 +1690,12 @@ TCurlMimePartInner = record end; |
1690 | 1690 | HCurlMime = ^TCurlMimeInner; |
1691 | 1691 | HCurlMimePart = ^TCurlMimePartInner; |
1692 | 1692 |
|
| 1693 | + |
| 1694 | +// Note for Delphi users: |
| 1695 | +// These options are new, and are not wrapped right now. |
| 1696 | +// Delphi does not compile them into EXE when they are unused → |
| 1697 | +// no need to guard with compiler directives. |
| 1698 | + |
1693 | 1699 | // NAME curl_mime_init() |
1694 | 1700 | // |
1695 | 1701 | // DESCRIPTION |
@@ -1888,9 +1894,9 @@ TCurlForms = record |
1888 | 1894 | // adds one part that together construct a full post. Then use |
1889 | 1895 | // CURLOPT_HTTPPOST to send it off to libcurl. |
1890 | 1896 | // |
1891 | | -// Note for Delphi users: we’re limited to 10 arguments, just because |
1892 | | -// I’m lazy to write more overloads :) |
1893 | | -// If you REALLY know what to do and aren’t afraid of varargs, |
| 1897 | +// Note for Delphi users: we’re limited to 10 arguments, just because |
| 1898 | +// I’m lazy to write more overloads :) |
| 1899 | +// If you REALLY know what to do and aren’t afraid of varargs, |
1894 | 1900 | // you can use curl_formadd_initial. |
1895 | 1901 | // |
1896 | 1902 | function curl_formadd_initial( |
|
0 commit comments