diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2005-02-18 23:07:35 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2005-02-18 23:07:35 +0000 |
commit | e2af6763d272491409169060fb3fb73c6b6644f1 (patch) | |
tree | fde9f1f49144195846890816b26c2b7997256c79 | |
parent | 0bcd72a19ba08bf4dac8744a2798f93b085f6cd7 (diff) | |
download | ATCD-e2af6763d272491409169060fb3fb73c6b6644f1.tar.gz |
*** empty log message ***
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp | 2 | ||||
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_interface/interface_cs.cpp | 9 |
2 files changed, 11 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp b/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp index e21027e99aa..530d25e9c3b 100644 --- a/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp +++ b/TAO/TAO_IDL/be/be_visitor_interface/interface_ch.cpp @@ -139,6 +139,8 @@ be_visitor_interface_ch::visit_interface (be_interface *node) // _nil operations. *os << "// The static operations." << be_nl << "static " << node->local_name () << "_ptr " << "_duplicate (" + << node->local_name () << "_ptr obj);" << be_nl << be_nl + << "static void _tao_release (" << node->local_name () << "_ptr obj);" << be_nl << be_nl; if (this->gen_xxx_narrow ("_narrow", diff --git a/TAO/TAO_IDL/be/be_visitor_interface/interface_cs.cpp b/TAO/TAO_IDL/be/be_visitor_interface/interface_cs.cpp index c3ad637baa7..b5bff424c0e 100644 --- a/TAO/TAO_IDL/be/be_visitor_interface/interface_cs.cpp +++ b/TAO/TAO_IDL/be/be_visitor_interface/interface_cs.cpp @@ -326,6 +326,15 @@ be_visitor_interface_cs::visit_interface (be_interface *node) << "return obj;" << be_uidt_nl << "}" << be_nl << be_nl; + // The _tao_release method + *os << "void" << be_nl + << node->full_name () << "::_tao_release (" + << bt->local_name () + << "_ptr obj)" << be_nl + << "{" << be_idt_nl + << "CORBA::release (obj);" << be_uidt_nl + << "}" << be_nl << be_nl; + // Empty implementations so the application can override or not. if (node->session_component_child () == 1) { |