[asterisk-scf-commits] asterisk-scf/integration/ice.git branch "slice-plugins" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Fri Feb 18 13:44:41 CST 2011


branch "slice-plugins" has been updated
       via  03be97bf53202c6bedd0115849e58d2c1793da64 (commit)
      from  b4758f58b4c300f038bea33a269122eaa20bec63 (commit)

Summary of changes:
 cpp/src/Slice/RubyUtil.cpp     |    2 +-
 cpp/src/slice2freeze/Main.cpp  |    2 +-
 cpp/src/slice2freezej/Main.cpp |    2 +-
 cpp/src/slice2php/Main.cpp     |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)


- Log -----------------------------------------------------------------
commit 03be97bf53202c6bedd0115849e58d2c1793da64
Author: Kevin P. Fleming <kpfleming at digium.com>
Date:   Fri Feb 18 13:44:24 2011 -0600

    Don't lie to plugins about the language they are being used to generate.

diff --git a/cpp/src/Slice/RubyUtil.cpp b/cpp/src/Slice/RubyUtil.cpp
index 8f30da0..bd1b4b4 100644
--- a/cpp/src/Slice/RubyUtil.cpp
+++ b/cpp/src/Slice/RubyUtil.cpp
@@ -1648,7 +1648,7 @@ Slice::Ruby::generate(const UnitPtr& un, bool all, bool checksum,
         
         Plugin::VisitorList* pluginVisitors;
         Plugin::FACTORY factory = (Plugin::FACTORY) sym;
-        pluginVisitors = factory(Plugin::LanguagePython);
+        pluginVisitors = factory(Plugin::LanguageRuby);
         
         if(pluginVisitors)
         {
diff --git a/cpp/src/slice2freeze/Main.cpp b/cpp/src/slice2freeze/Main.cpp
index 8510309..3dcf543 100644
--- a/cpp/src/slice2freeze/Main.cpp
+++ b/cpp/src/slice2freeze/Main.cpp
@@ -1400,7 +1400,7 @@ gen(const string& name, const UnitPtr& u, const vector<string>& includePaths, co
         
         Plugin::VisitorList* pluginVisitors;
         Plugin::FACTORY factory = (Plugin::FACTORY) sym;
-        pluginVisitors = factory(Plugin::LanguagePython);
+        pluginVisitors = factory(Plugin::LanguageCPlusPlus);
         
         if(pluginVisitors)
         {
diff --git a/cpp/src/slice2freezej/Main.cpp b/cpp/src/slice2freezej/Main.cpp
index 7de7dcd..f9ace31 100644
--- a/cpp/src/slice2freezej/Main.cpp
+++ b/cpp/src/slice2freezej/Main.cpp
@@ -277,7 +277,7 @@ FreezeGenerator::generate(UnitPtr& u, const Dict& dict)
         
         Plugin::VisitorList* pluginVisitors;
         Plugin::FACTORY factory = (Plugin::FACTORY) sym;
-        pluginVisitors = factory(Plugin::LanguagePython);
+        pluginVisitors = factory(Plugin::LanguageJava);
         
         if(pluginVisitors)
         {
diff --git a/cpp/src/slice2php/Main.cpp b/cpp/src/slice2php/Main.cpp
index 1cb4770..8b4e768 100644
--- a/cpp/src/slice2php/Main.cpp
+++ b/cpp/src/slice2php/Main.cpp
@@ -1410,7 +1410,7 @@ generate(const UnitPtr& un, bool all, bool checksum, bool ns,
         
         Plugin::VisitorList* pluginVisitors;
         Plugin::FACTORY factory = (Plugin::FACTORY) sym;
-        pluginVisitors = factory(Plugin::LanguagePython);
+        pluginVisitors = factory(Plugin::LanguagePHP);
         
         if(pluginVisitors)
         {

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


-- 
asterisk-scf/integration/ice.git



More information about the asterisk-scf-commits mailing list