aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2025-04-06 17:02:22 +0200
committerJacob Young <jacobly0@users.noreply.github.com>2025-04-11 05:22:00 -0400
commit0132be7bf3fd02cfb8c31ffdeaddae918a76b295 (patch)
tree91b154b7d461f5ae6be6f2ed04858f3243d9517c /src/codegen
parentc82e1fe880629beea5660c675cfc698807205601 (diff)
downloadzig-0132be7bf3fd02cfb8c31ffdeaddae918a76b295.tar.gz
zig-0132be7bf3fd02cfb8c31ffdeaddae918a76b295.zip
std.Target: Rename charSignedness() to cCharSignedness().
To be consistent with the other functions that answer C ABI questions.
Diffstat (limited to 'src/codegen')
-rw-r--r--src/codegen/c/Type.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen/c/Type.zig b/src/codegen/c/Type.zig
index 451bbc7818..db7455ebb0 100644
--- a/src/codegen/c/Type.zig
+++ b/src/codegen/c/Type.zig
@@ -78,7 +78,7 @@ pub fn isInteger(ctype: CType) bool {
pub fn signedness(ctype: CType, mod: *Module) std.builtin.Signedness {
return switch (ctype.index) {
- .char => mod.resolved_target.result.charSignedness(),
+ .char => mod.resolved_target.result.cCharSignedness(),
.@"signed char",
.short,
.int,