summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_structure.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_structure.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_structure.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be/be_structure.cpp b/TAO/TAO_IDL/be/be_structure.cpp
index a040abd4fd7..4f8471b7213 100644
--- a/TAO/TAO_IDL/be/be_structure.cpp
+++ b/TAO/TAO_IDL/be/be_structure.cpp
@@ -882,6 +882,17 @@ be_structure::compute_size_type (void)
return 0;
}
+int be_structure::write_as_return (TAO_OutStream *stream,
+ be_type *type)
+{
+ *stream << type->name ();
+ if (this->size_type () == be_decl::VARIABLE)
+ {
+ *stream << " *";
+ }
+ return 0;
+}
+
int
be_structure::accept (be_visitor *visitor)
{