diff options
| author | Rusty Wagner <rusty@vector35.com> | 2016-07-10 02:49:49 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2016-07-10 02:49:49 -0400 |
| commit | ca6d082528f1b4c6d8f66bed18fb2e70f4c87a74 (patch) | |
| tree | 615940ecdbe26eb830d8850f52af7f4dd9f07239 /python/generator.cpp | |
| parent | 7853b6eea8c80b537e2fa199a19dde0f68845449 (diff) | |
| parent | b6b76645f0a5e7e631363c4b4ae6383993669abf (diff) | |
Merge branch 'dev' into linear_view
Diffstat (limited to 'python/generator.cpp')
| -rw-r--r-- | python/generator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/generator.cpp b/python/generator.cpp index f9790619..08485315 100644 --- a/python/generator.cpp +++ b/python/generator.cpp @@ -98,10 +98,10 @@ void OutputType(FILE* out, Type* type, bool isReturnType = false, bool isCallbac fprintf(out, "ctypes.c_double"); break; case StructureTypeClass: - fprintf(out, "%s", type->GetStructure()->GetName().c_str()); + fprintf(out, "%s", type->GetQualifiedName(type->GetStructure()->GetName()).c_str()); break; case EnumerationTypeClass: - fprintf(out, "%s", type->GetEnumeration()->GetName().c_str()); + fprintf(out, "%s", type->GetQualifiedName(type->GetEnumeration()->GetName()).c_str()); break; case PointerTypeClass: if (isCallback || (type->GetChildType()->GetClass() == VoidTypeClass)) |
