From b4383ddcb513a532f644f5e07ee9af038c67ed40 Mon Sep 17 00:00:00 2001 From: coryan Date: Sat, 24 Jan 1998 16:53:27 +0000 Subject: ChangeLogTag:Sat Jan 24 10:30:40 1998 Carlos O'Ryan --- TAO/TAO_IDL/be/be_union.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'TAO/TAO_IDL/be/be_union.cpp') diff --git a/TAO/TAO_IDL/be/be_union.cpp b/TAO/TAO_IDL/be/be_union.cpp index 4a1669e9a79..13fdaecdad1 100644 --- a/TAO/TAO_IDL/be/be_union.cpp +++ b/TAO/TAO_IDL/be/be_union.cpp @@ -1121,6 +1121,17 @@ be_union::tc_encap_len (void) return this->encap_len_; } +int be_union::write_as_return (TAO_OutStream *stream, + be_type *type) +{ + *stream << type->name (); + if (this->size_type () == be_decl::VARIABLE) + { + *stream << " *"; + } + return 0; +} + int be_union::accept (be_visitor *visitor) { -- cgit v1.2.1