summaryrefslogtreecommitdiff
path: root/compiler_and_linker/unsorted/CMangler.c
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-01-18 17:19:20 +0000
committerAsh Wolf <ninji@wuffs.org>2023-01-18 17:19:20 +0000
commit5d0bbb19cc133753cebda7099e46d4b2084336c6 (patch)
tree649e0b361bab4c2400fc684f7b18cf2da670525b /compiler_and_linker/unsorted/CMangler.c
parenta231f5dbb93c60da240a027f2afd8a4797069541 (diff)
downloadMWCC-5d0bbb19cc133753cebda7099e46d4b2084336c6.tar.gz
MWCC-5d0bbb19cc133753cebda7099e46d4b2084336c6.zip
rename TypeMethod and the struct type enums
Diffstat (limited to 'compiler_and_linker/unsorted/CMangler.c')
-rw-r--r--compiler_and_linker/unsorted/CMangler.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/compiler_and_linker/unsorted/CMangler.c b/compiler_and_linker/unsorted/CMangler.c
index f597d44..496f600 100644
--- a/compiler_and_linker/unsorted/CMangler.c
+++ b/compiler_and_linker/unsorted/CMangler.c
@@ -432,37 +432,37 @@ static void CMangler_MangleTypeAppend(Type *type, UInt32 qual) {
case TYPESTRUCT:
CMangler_MangleQualifier(qual);
switch (TYPE_STRUCT(type)->stype) {
- case STRUCT_TYPE_4:
+ case STRUCT_VECTOR_UCHAR:
AppendGListName(&name_mangle_list, "XUc");
return;
- case STRUCT_TYPE_5:
+ case STRUCT_VECTOR_SCHAR:
AppendGListName(&name_mangle_list, "Xc");
return;
- case STRUCT_TYPE_6:
+ case STRUCT_VECTOR_BCHAR:
AppendGListName(&name_mangle_list, "XC");
return;
- case STRUCT_TYPE_7:
+ case STRUCT_VECTOR_USHORT:
AppendGListName(&name_mangle_list, "XUs");
return;
- case STRUCT_TYPE_8:
+ case STRUCT_VECTOR_SSHORT:
AppendGListName(&name_mangle_list, "Xs");
return;
- case STRUCT_TYPE_9:
+ case STRUCT_VECTOR_BSHORT:
AppendGListName(&name_mangle_list, "XS");
return;
- case STRUCT_TYPE_A:
+ case STRUCT_VECTOR_UINT:
AppendGListName(&name_mangle_list, "XUi");
return;
- case STRUCT_TYPE_B:
+ case STRUCT_VECTOR_SINT:
AppendGListName(&name_mangle_list, "Xi");
return;
- case STRUCT_TYPE_C:
+ case STRUCT_VECTOR_BINT:
AppendGListName(&name_mangle_list, "XI");
return;
- case STRUCT_TYPE_D:
+ case STRUCT_VECTOR_FLOAT:
AppendGListName(&name_mangle_list, "Xf");
return;
- case STRUCT_TYPE_E:
+ case STRUCT_VECTOR_PIXEL:
AppendGListName(&name_mangle_list, "Xp");
return;
}