aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorEvan Haas <evan@lagerdata.com>2021-08-01 17:14:57 -0700
committerVeikka Tuominen <git@vexu.eu>2021-08-21 16:32:09 +0300
commit3b2520583390c7ebbb1e1ea458c9ced04180d9c4 (patch)
tree9bd342ec64c9f1852a3ef49f85bc201d15232248 /src/Module.zig
parentd57c0cc3bfeff9af297279759ec2b631e6d95140 (diff)
downloadzig-3b2520583390c7ebbb1e1ea458c9ced04180d9c4.tar.gz
zig-3b2520583390c7ebbb1e1ea458c9ced04180d9c4.zip
translate-c: allow string literals to be used as `char *`
In C the type of string literals is `char *`, so when using them in a non-const context we have to cast the const away. Fixes #9126
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions