qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject svn commit: r770723 - /qpid/trunk/qpid/cpp/rubygen/framing.0-10/Session.rb
Date Fri, 01 May 2009 15:45:29 GMT
Author: aconway
Date: Fri May  1 15:45:28 2009
New Revision: 770723

URL: http://svn.apache.org/viewvc?rev=770723&view=rev
Log:
Code generator changes missed on last commit.

Modified:
    qpid/trunk/qpid/cpp/rubygen/framing.0-10/Session.rb

Modified: qpid/trunk/qpid/cpp/rubygen/framing.0-10/Session.rb
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/rubygen/framing.0-10/Session.rb?rev=770723&r1=770722&r2=770723&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/rubygen/framing.0-10/Session.rb (original)
+++ qpid/trunk/qpid/cpp/rubygen/framing.0-10/Session.rb Fri May  1 15:45:28 2009
@@ -162,8 +162,9 @@
       include "qpid/framing/all_method_bodies.h"
       include "qpid/client/SessionImpl.h"
       include "qpid/client/MessageImpl.h"
-      include "qpid/client/PrivateImplPrivate.h"
+      include "qpid/client/PrivateImplRef.h"
       include "qpid/client/CompletionImpl.h"
+      include "<boost/intrusive_ptr.hpp>"
       namespace(@namespace) {
         genl "using namespace framing;"
         session_methods(sync_default).each { |m|
@@ -175,7 +176,7 @@
             genl "#{m.body_name} body(#{args});";
             genl "body.setSync(sync);"
             sendargs="body"
-            sendargs << ", *privateImplGetPtr(content)" if m.content
+            sendargs << ", *MessageImpl::get(content)" if m.content
             async_retval="#{m.return_type(true)}(new CompletionImpl(impl->send(#{sendargs}),
impl))"
             if @async then
               genl "return #{async_retval};"



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message