aboutsummaryrefslogtreecommitdiff
path: root/xsd
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-12-02 12:26:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-12-02 12:26:05 +0200
commitee4eb695119bce96515b330f9fc83ddd67da5c62 (patch)
tree817bf37d4b0f0fb89e785004c41b4c6928228f79 /xsd
parentc155e6925211747af9a13a5994c2f768c5048971 (diff)
Implement de-registering polymorphic type information
This is required for DLL/shared library unloading.
Diffstat (limited to 'xsd')
-rw-r--r--xsd/cxx/tree/serialization-source.cxx4
-rw-r--r--xsd/cxx/tree/tree-source.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/xsd/cxx/tree/serialization-source.cxx b/xsd/cxx/tree/serialization-source.cxx
index dda363f..68d14fa 100644
--- a/xsd/cxx/tree/serialization-source.cxx
+++ b/xsd/cxx/tree/serialization-source.cxx
@@ -862,13 +862,13 @@ namespace CXX
String const& name (ename (e));
os << "static" << endl
- << "const ::xsd::cxx::tree::type_serializer_initializer< 0, " <<
+ << "const ::xsd::cxx::tree::element_serializer_initializer< 0, " <<
char_type << ", ";
belongs (e, belongs_);
os << " >" << endl
- << "_xsd_" << name << "_element_name_init (" << endl
+ << "_xsd_" << name << "_element_serializer_init (" << endl
<< L << strlit (r.name ()) << "," << endl
<< L << strlit (r.namespace_ ().name ()) << "," << endl
<< L << strlit (e.name ()) << "," << endl
diff --git a/xsd/cxx/tree/tree-source.cxx b/xsd/cxx/tree/tree-source.cxx
index d1353b0..fa9046f 100644
--- a/xsd/cxx/tree/tree-source.cxx
+++ b/xsd/cxx/tree/tree-source.cxx
@@ -3317,7 +3317,7 @@ namespace CXX
Type& r (e.substitutes ().root ());
os << "static" << endl
- << "const ::xsd::cxx::tree::type_factory_initializer< 0, " <<
+ << "const ::xsd::cxx::tree::element_factory_initializer< 0, " <<
char_type << ", ";
belongs (e, belongs_);