diff options
Diffstat (limited to 'cpp/rubygen/cppgen.rb')
-rwxr-xr-x | cpp/rubygen/cppgen.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |