summaryrefslogtreecommitdiff
path: root/qpid/cpp/rubygen
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-10-05 17:03:41 +0000
committerAlan Conway <aconway@apache.org>2009-10-05 17:03:41 +0000
commit7ef06f1f4b9d07bef099dc0d1dbb948cadf32b61 (patch)
tree8f647110fb4f0b361b7c2b20a77d12119c7bd2d1 /qpid/cpp/rubygen
parent089c3d97ea6a29e02a7526908ccc530f603b5c75 (diff)
downloadqpid-python-7ef06f1f4b9d07bef099dc0d1dbb948cadf32b61.tar.gz
Removed AMQP method body classes from public API.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821916 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/rubygen')
-rwxr-xr-xqpid/cpp/rubygen/framing.0-10/structs.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/cpp/rubygen/framing.0-10/structs.rb b/qpid/cpp/rubygen/framing.0-10/structs.rb
index 809e453381..c3684aea66 100755
--- a/qpid/cpp/rubygen/framing.0-10/structs.rb
+++ b/qpid/cpp/rubygen/framing.0-10/structs.rb
@@ -381,9 +381,10 @@ EOS
else
inheritance = ": public AMQMethodBody"
end
+ else
+ public_api("qpid/framing/#{classname}.h") # Non-method structs are public
end
- public_api("qpid/framing/#{classname}.h")
h_file("qpid/framing/#{classname}.h") {
if (s.kind_of? AmqpMethod)
gen <<EOS