From 599ff4a59af78af75639a05a3e87a29f81a29e2b Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 10 Apr 2008 12:36:58 +0000 Subject: Invocation handlers, see src/tests/amqp_0_10/handlers.cpp for example. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@646778 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/rubygen/cppgen.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'cpp/rubygen/cppgen.rb') diff --git a/cpp/rubygen/cppgen.rb b/cpp/rubygen/cppgen.rb index d0f31a8ba8..0c17b68335 100755 --- a/cpp/rubygen/cppgen.rb +++ b/cpp/rubygen/cppgen.rb @@ -152,6 +152,7 @@ end module AmqpHasFields def parameters() fields.map { |f| "#{f.paramtype} #{f.cppname}_"} end + def unused_parameters() fields.map { |f| "#{f.paramtype} /*#{f.cppname}_*/"} end def arguments() fields.map { |f| "#{f.cppname}_"} end def values() fields.map { |f| "#{f.cppname}"} end def initializers() fields.map { |f| "#{f.cppname}(#{f.cppname}_)"} end -- cgit v1.2.1