October 17, 2011 [Issue 6820] New: etc.c.curl missing const | ||||
---|---|---|---|---|
| ||||
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: 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.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: ------- |
Copyright © 1999-2021 by the D Language Foundation