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/CTemplateTools.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/CTemplateTools.c')
-rw-r--r-- | compiler_and_linker/unsorted/CTemplateTools.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler_and_linker/unsorted/CTemplateTools.c b/compiler_and_linker/unsorted/CTemplateTools.c index bc7f8be..03a51cb 100644 --- a/compiler_and_linker/unsorted/CTemplateTools.c +++ b/compiler_and_linker/unsorted/CTemplateTools.c @@ -1906,7 +1906,7 @@ Type *CTemplTool_DeduceTypeCopy(TypeDeduce *deduce, Type *type, UInt32 *resultQu case TYPEFUNC: if (TYPE_FUNC(type)->flags & FUNC_FLAGS_METHOD) { qual2 = 0; - deduced = galloc(sizeof(TypeMethod)); + deduced = galloc(sizeof(TypeMemberFunc)); *TYPE_METHOD(deduced) = *TYPE_METHOD(type); TYPE_METHOD(deduced)->x22 = 0; TYPE_METHOD(deduced)->theclass = TYPE_CLASS(CTemplTool_DeduceTypeQualCopy(deduce, TYPE(TYPE_METHOD(type)->theclass), &qual2)); |