]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/music-iterator.hh
(mangle_cxx_identifier): new
[lilypond.git] / lily / include / music-iterator.hh
index 2440ae8d996d37d9d0364db7d9181620af8a4c98..00ed6ad386aabf5fe3cd1980d9370cfff81c52b7 100644 (file)
@@ -93,7 +93,8 @@ private:
 bool is_child_context (Context *me, Context *child);
 
 #define IMPLEMENT_CTOR_CALLBACK(Class)                                 \
-  LY_DEFINE_MEMBER_FUNCTION (Class, constructor, #Class "::constructor", \
+  LY_DEFINE_MEMBER_FUNCTION (Class, constructor, \
+                            mangle_cxx_identifier (std::string (#Class) + "::constructor").c_str(), \
                             0, 0, 0,                                   \
                             (),                                        \
                             "")                                        \