Bug 10931 – etc.c.zlib should properly annotate const parameters
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-08-30T12:54:00Z
Last change time
2014-05-06T11:24:34Z
Keywords
pull
Assigned to
andrej.mitrovich
Creator
temtaime
Comments
Comment #0 by temtaime — 2013-08-30T12:54:11Z
All the source data should be declared as const, for example:
int compress(ubyte* dest,
size_t* destLen,
ubyte* source,
size_t sourceLen);
Should be:
int compress(ubyte* dest,
size_t* destLen,
const(ubyte)* source,
size_t sourceLen);
Comment #1 by andrej.mitrovich — 2014-04-24T19:50:59Z