summaryrefslogtreecommitdiff
path: root/qpid/cpp/rubygen/framing.0-10/structs.rb
diff options
context:
space:
mode:
authorAidan Skinner <aidan@apache.org>2009-10-11 23:22:08 +0000
committerAidan Skinner <aidan@apache.org>2009-10-11 23:22:08 +0000
commit98cc985dbd81a84cd0b0a969c57cb941680ec81f (patch)
treea9060c1f208897cbd9dd4791b29202c78566993b /qpid/cpp/rubygen/framing.0-10/structs.rb
parent788f96fd8af146cba5bff57300b1a513988c34b9 (diff)
downloadqpid-python-98cc985dbd81a84cd0b0a969c57cb941680ec81f.tar.gz
Merge from trunk
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-network-refactor@824198 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/rubygen/framing.0-10/structs.rb')
-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