http://d.puremagic.com/issues/show_bug.cgi?id=6820

           Summary: etc.c.curl missing const
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: bra...@puremagic.com


--- Comment #0 from Brad Roberts <bra...@puremagic.com> 2011-10-16 19:50:21 PDT 
---
Many of the curl api's take const buffers/strings but the .d wrapper leaves out
the const'ness.  For example:

curl.h:
CURL_EXTERN char *curl_easy_unescape(CURL *handle,
                                     const char *string,
                                     int length,
                                     int *outlength);

curl.d:
char * curl_easy_unescape(CURL *handle, char *string, int length, int
*outlength);

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to