Commit 4dc7a4d3 authored by Ivan Smirnov's avatar Ivan Smirnov Committed by Stefan Behnel

Mangle C++ namespaced types

parent 9b42c5a1
......@@ -633,6 +633,7 @@ def mangle_dtype_name(dtype):
prefix = ""
type_decl = dtype.empty_declaration_code()
type_decl = type_decl.replace(" ", "_")
type_decl = type_decl.replace("::", "_pyxns_")
return prefix + type_decl.replace("[", "_").replace("]", "_")
def get_type_information_cname(code, dtype, maxdepth=None):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment