diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-01-18 17:19:20 +0000 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-01-18 17:19:20 +0000 |
commit | 5d0bbb19cc133753cebda7099e46d4b2084336c6 (patch) | |
tree | 649e0b361bab4c2400fc684f7b18cf2da670525b /compiler_and_linker/unsorted/uDump.c | |
parent | a231f5dbb93c60da240a027f2afd8a4797069541 (diff) | |
download | MWCC-5d0bbb19cc133753cebda7099e46d4b2084336c6.tar.gz MWCC-5d0bbb19cc133753cebda7099e46d4b2084336c6.zip |
rename TypeMethod and the struct type enums
Diffstat (limited to 'compiler_and_linker/unsorted/uDump.c')
-rw-r--r-- | compiler_and_linker/unsorted/uDump.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/compiler_and_linker/unsorted/uDump.c b/compiler_and_linker/unsorted/uDump.c index 77ac238..58bc589 100644 --- a/compiler_and_linker/unsorted/uDump.c +++ b/compiler_and_linker/unsorted/uDump.c @@ -521,37 +521,37 @@ static void spell(Type *type, char *buf) { case TYPESTRUCT: if (IS_TYPESTRUCT_VECTOR(TYPE_STRUCT(type))) { switch (TYPE_STRUCT(type)->stype) { - case STRUCT_TYPE_4: + case STRUCT_VECTOR_UCHAR: strcpy(buf, "vector unsigned char "); break; - case STRUCT_TYPE_5: + case STRUCT_VECTOR_SCHAR: strcpy(buf, "vector signed char "); break; - case STRUCT_TYPE_6: + case STRUCT_VECTOR_BCHAR: strcpy(buf, "vector bool char "); break; - case STRUCT_TYPE_7: + case STRUCT_VECTOR_USHORT: strcpy(buf, "vector unsigned short "); break; - case STRUCT_TYPE_8: + case STRUCT_VECTOR_SSHORT: strcpy(buf, "vector signed short "); break; - case STRUCT_TYPE_9: + case STRUCT_VECTOR_BSHORT: strcpy(buf, "vector bool short "); break; - case STRUCT_TYPE_A: + case STRUCT_VECTOR_UINT: strcpy(buf, "vector unsigned int "); break; - case STRUCT_TYPE_B: + case STRUCT_VECTOR_SINT: strcpy(buf, "vector signed int "); break; - case STRUCT_TYPE_C: + case STRUCT_VECTOR_BINT: strcpy(buf, "vector bool int "); break; - case STRUCT_TYPE_D: + case STRUCT_VECTOR_FLOAT: strcpy(buf, "vector float "); break; - case STRUCT_TYPE_E: + case STRUCT_VECTOR_PIXEL: strcpy(buf, "vector pixel "); break; } |