summaryrefslogtreecommitdiff
path: root/python/generator.cpp
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2021-08-27 12:52:54 -0400
committerPeter LaFosse <peter@vector35.com>2021-09-06 11:46:43 -0400
commita421e58fc62ab2b08cc501221f6b3fe30833984b (patch)
treef3c9085dc332e9e34e8fa26e574398c1c2fb976d /python/generator.cpp
parente7400c394eca465d2a54a70c16bb175e4521de91 (diff)
Change NamedTypeReference.GetTypeClass to GetTypeReferenceClass as it was conflicting with Type.GetTypeClass
Diffstat (limited to 'python/generator.cpp')
-rw-r--r--python/generator.cpp2
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")