summaryrefslogtreecommitdiff
path: root/cpp/rubygen/framing.0-10/structs.rb
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
commitc411741206b954ad8de24833c5d066d53f9dc69a (patch)
treec3202f0cf3ef47b5fb0de1699ead09a16a46fd28 /cpp/rubygen/framing.0-10/structs.rb
parentae074a2954fe5bb98a3d029e82690fa569470414 (diff)
downloadqpid-python-c411741206b954ad8de24833c5d066d53f9dc69a.tar.gz
Removed AMQP method body classes from public API.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@821916 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/rubygen/framing.0-10/structs.rb')
-rwxr-xr-xcpp/rubygen/framing.0-10/structs.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/rubygen/framing.0-10/structs.rb b/cpp/rubygen/framing.0-10/structs.rb
index 809e453381..c3684aea66 100755
--- a/cpp/rubygen/framing.0-10/structs.rb
+++ b/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