summaryrefslogtreecommitdiff
path: root/TAO/tests/IDL_Test/generic_object.idl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/IDL_Test/generic_object.idl')
-rw-r--r--TAO/tests/IDL_Test/generic_object.idl31
1 files changed, 15 insertions, 16 deletions
diff --git a/TAO/tests/IDL_Test/generic_object.idl b/TAO/tests/IDL_Test/generic_object.idl
index 7d09255d6ee..62325f3df2a 100644
--- a/TAO/tests/IDL_Test/generic_object.idl
+++ b/TAO/tests/IDL_Test/generic_object.idl
@@ -19,27 +19,26 @@
//
// ============================================================================
-// The IDL compiler deals with these in a completely
-// different way that it deals with a derived object,
-// i.e., an interface.
+// The IDL compiler deals with these in a completely different way
+// that it deals with a derived object, i.e., an interface.
enum ObjectType
- {
- THIS,
- THAT
- };
+{
+ OT_THIS,
+ OT_THAT
+};
union Selecter switch (ObjectType)
- {
- case THIS: Object this_object;
- case THAT: Object that_object;
- };
+{
+case OT_THIS: Object this_object;
+case OT_THAT: Object that_object;
+};
// Test stub code for generic object parameters.
interface generic
- {
- Object op (in Object inarg,
- inout Object inoutarg,
- out Object outarg);
- };
+{
+ Object op (in Object inarg,
+ inout Object inoutarg,
+ out Object outarg);
+};