diff options
author | Ivan Smirnov <aldanor@users.noreply.github.com> | 2016-05-12 16:04:58 +0100 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2016-07-15 08:14:26 +0200 |
commit | 4dc7a4d3cdd9ae4efc0ad82ef85233c6ee560133 (patch) | |
tree | 213177c7028f8975dce593c34123cd3e6d46d9ab | |
parent | 9b42c5a12fed2270b6af2eb32299467456ee15cf (diff) | |
download | cython-4dc7a4d3cdd9ae4efc0ad82ef85233c6ee560133.tar.gz |
Mangle C++ namespaced types
-rw-r--r-- | Cython/Compiler/Buffer.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Cython/Compiler/Buffer.py b/Cython/Compiler/Buffer.py index 765c31642..d755dbafc 100644 --- a/Cython/Compiler/Buffer.py +++ b/Cython/Compiler/Buffer.py @@ -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): |