www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 6820] New: etc.c.curl missing const


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

--- Comment #0 from Brad Roberts <braddr 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_EXTERN char *curl_easy_unescape(CURL *handle,
                                     const char *string,
                                     int length,
                                     int *outlength);

char * curl_easy_unescape(CURL *handle, char *string, int length, int

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