Some renaming of generated identifiers
uno_Type_com$sun$star$... and uno_Reference_com$sun$star$... Change-Id: Ibc19f423a60c521c376172807b4d5a34cf0179a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162696 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
This commit is contained in:
parent
32ef7cea77
commit
2df1dcc324
@ -455,8 +455,8 @@ void writeJsMap(std::ostream& out, Module const& module, std::string const& pref
|
||||
{
|
||||
out << ",\n";
|
||||
}
|
||||
out << prefix << "'" << ifc.copy(ifc.lastIndexOf('.') + 1) << "': instance." << jsName(ifc)
|
||||
<< "Ref";
|
||||
out << prefix << "'" << ifc.copy(ifc.lastIndexOf('.') + 1) << "': instance.uno_Reference_"
|
||||
<< jsName(ifc);
|
||||
comma = true;
|
||||
}
|
||||
for (auto const & [ id, sub ] : module.modules)
|
||||
@ -544,15 +544,16 @@ SAL_IMPLEMENT_MAIN()
|
||||
cppOut << "static void __attribute__((noinline)) register" << n
|
||||
<< "() {\n"
|
||||
" ::emscripten::class_<"
|
||||
<< cppName(ifc) << ">(\"" << jsName(ifc) << "\")\n";
|
||||
<< cppName(ifc) << ">(\"uno_Type_" << jsName(ifc) << "\")\n";
|
||||
dumpAttributes(cppOut, ifc, ifcEnt);
|
||||
dumpMethods(cppOut, mgr, ifc, ifcEnt, false);
|
||||
cppOut << " ;\n"
|
||||
cppOut
|
||||
<< " ;\n"
|
||||
" ::emscripten::class_<::com::sun::star::uno::Reference<"
|
||||
<< cppName(ifc)
|
||||
<< ">, ::emscripten::base<::com::sun::star::uno::BaseReference>>(\""
|
||||
<< ">, ::emscripten::base<::com::sun::star::uno::BaseReference>>(\"uno_Reference_"
|
||||
<< jsName(ifc)
|
||||
<< "Ref\")\n"
|
||||
<< "\")\n"
|
||||
" .constructor<>()\n"
|
||||
" .constructor<::com::sun::star::uno::BaseReference, "
|
||||
"::com::sun::star::uno::UnoReference_Query>()\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user