register class aliases with the module type registry as well
This commit is contained in:
1 parent
48946bca98
commit
3732021ead
1 file changed
+3
@@ -766,6 +766,9 @@ class CppClass(object):
|
||||
def register_alias(self, alias):
|
||||
"""Re-register the class with another base name, in addition to any
|
||||
registrations that might have already been done."""
|
||||
|
||||
self.module.register_type(None, alias, self)
|
||||
|
||||
self.ThisClassParameter.CTYPES.append(alias)
|
||||
try:
|
||||
param_type_matcher.register(alias, self.ThisClassParameter)
|
||||
|
||||
Reference in new issue
Block a user