summaryrefslogtreecommitdiff
path: root/cpp/rubygen/templates/structs.rb
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-09-12 14:49:12 +0000
committerGordon Sim <gsim@apache.org>2007-09-12 14:49:12 +0000
commit46b15e2c2f9e454fd7041f1e6ad723d093bee052 (patch)
tree34af4f367c3b5b46955ce070384a99adb742b562 /cpp/rubygen/templates/structs.rb
parent86255826a849d7d8ced73009274a5bee909a0923 (diff)
downloadqpid-python-46b15e2c2f9e454fd7041f1e6ad723d093bee052.tar.gz
In ClientChannel: Use subscribe and flush in place of get; use per-subscriber flow control for managing prefetches.
In brokers Session: set credit to 0 when subscription is created (modified python tests accordingly) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@574979 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/rubygen/templates/structs.rb')
-rw-r--r--cpp/rubygen/templates/structs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/rubygen/templates/structs.rb b/cpp/rubygen/templates/structs.rb
index 69405f05f5..422fd8c207 100644
--- a/cpp/rubygen/templates/structs.rb
+++ b/cpp/rubygen/templates/structs.rb
@@ -43,7 +43,7 @@ class StructGen < CppGen
end
def printable_form(f)
- if (f.cpptype.name == "u_int8_t")
+ if (f.cpptype.name == "uint8_t")
return "(int) " + f.cppname
else
return f.cppname