[asterisk-scf-commits] asterisk-scf/release/ice.git branch "visitor-generators" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Thu Jan 6 14:00:24 UTC 2011


branch "visitor-generators" has been updated
       via  025784b070e939bf80d21f2a06dda5d97d2ddae8 (commit)
      from  1ea3dfd4c70be652c1a6931c6c43ca28fa49c27d (commit)

Summary of changes:
 cpp/src/slice2java/Gen.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


- Log -----------------------------------------------------------------
commit 025784b070e939bf80d21f2a06dda5d97d2ddae8
Author: Kevin P. Fleming <kpfleming at digium.com>
Date:   Thu Jan 6 07:59:36 2011 -0600

    Make the rest of the Java LanguageHelper methods actually work.

diff --git a/cpp/src/slice2java/Gen.cpp b/cpp/src/slice2java/Gen.cpp
index e4c1bc0..44f5274 100644
--- a/cpp/src/slice2java/Gen.cpp
+++ b/cpp/src/slice2java/Gen.cpp
@@ -1770,17 +1770,17 @@ Slice::Gen::generate(const UnitPtr& p, bool stream)
 
         virtual string returnTypeToString(const TypePtr& type, const StringList& metadata)
         {
-            return string();
+            return JavaGenerator::typeToString(type, JavaGenerator::TypeModeReturn, "", metadata, false);
         }
 
         virtual string inputTypeToString(const TypePtr& type, const StringList& metadata)
         {
-            return string();
+            return JavaGenerator::typeToString(type, JavaGenerator::TypeModeIn, "", metadata, false);
         }
 
         virtual string outputTypeToString(const TypePtr& type, const StringList& metadata)
         {
-            return string();
+            return JavaGenerator::typeToString(type, JavaGenerator::TypeModeOut, "", metadata, false);
         }
     } pluginHelper(_dir);
 

-----------------------------------------------------------------------


-- 
asterisk-scf/release/ice.git



More information about the asterisk-scf-commits mailing list