diff options
| author | Peter LaFosse <peter@vector35.com> | 2021-08-27 12:52:54 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2021-09-06 11:46:43 -0400 |
| commit | a421e58fc62ab2b08cc501221f6b3fe30833984b (patch) | |
| tree | f3c9085dc332e9e34e8fa26e574398c1c2fb976d /python/generator.cpp | |
| parent | e7400c394eca465d2a54a70c16bb175e4521de91 (diff) | |
Change NamedTypeReference.GetTypeClass to GetTypeReferenceClass as it was conflicting with Type.GetTypeClass
Diffstat (limited to 'python/generator.cpp')
| -rw-r--r-- | python/generator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/generator.cpp b/python/generator.cpp index 5541f017..0daf3577 100644 --- a/python/generator.cpp +++ b/python/generator.cpp @@ -98,7 +98,7 @@ void OutputType(FILE* out, Type* type, bool isReturnType = false, bool isCallbac fprintf(out, "ctypes.c_double"); break; case NamedTypeReferenceClass: - if (type->GetNamedTypeReference()->GetTypeClass() == EnumNamedTypeClass) + if (type->GetNamedTypeReference()->GetTypeReferenceClass() == EnumNamedTypeClass) { string name = type->GetNamedTypeReference()->GetName().GetString(); if (name.size() > 2 && name.substr(0, 2) == "BN") |
