diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-01-24 16:53:27 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-01-24 16:53:27 +0000 |
commit | b4383ddcb513a532f644f5e07ee9af038c67ed40 (patch) | |
tree | 4232a1221f83956ea047668a0ff601d1a5547462 /TAO/TAO_IDL/be/be_union.cpp | |
parent | 98c6c8b0f48df45bd8ccc51c5c207c92fe219199 (diff) | |
download | ATCD-b4383ddcb513a532f644f5e07ee9af038c67ed40.tar.gz |
ChangeLogTag:Sat Jan 24 10:30:40 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/TAO_IDL/be/be_union.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_union.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
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) { |