Skip to content

Commit c737a25

Browse files
committed
doc
1 parent 8639055 commit c737a25

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

Src/Curl.Lib.pas

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
unit Curl.Lib;
1+
unit Curl.Lib;
22

33
interface
44

55
uses
66
Winapi.Winsock2;
77

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.
99
{$MINENUMSIZE 4}
1010

1111
const
@@ -1428,7 +1428,7 @@ TCurlKhKey = record
14281428

14291429
// 35 = OBSOLETE
14301430

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
14321432
// of stderr when showing the progress meter and displaying
14331433
// CURLOPT_VERBOSE data.
14341434
CURLOPT_STDERR = CURLOPTTYPE_OBJECTPOINT + 37,
@@ -1690,6 +1690,12 @@ TCurlMimePartInner = record end;
16901690
HCurlMime = ^TCurlMimeInner;
16911691
HCurlMimePart = ^TCurlMimePartInner;
16921692

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+
16931699
// NAME curl_mime_init()
16941700
//
16951701
// DESCRIPTION
@@ -1888,9 +1894,9 @@ TCurlForms = record
18881894
// adds one part that together construct a full post. Then use
18891895
// CURLOPT_HTTPPOST to send it off to libcurl.
18901896
//
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,
18941900
// you can use curl_formadd_initial.
18951901
//
18961902
function curl_formadd_initial(

0 commit comments

Comments
 (0)