summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-08-29 00:00:50 +0000
committerAlan Conway <aconway@apache.org>2007-08-29 00:00:50 +0000
commit716150668931a1461569b3020d38a30f8b9afe69 (patch)
treea42e5f1133f10fa95f4d960657015afc2b4aeade /cpp
parent8799975f897abb7f71a5651f110ca657c5853b42 (diff)
downloadqpid-python-716150668931a1461569b3020d38a30f8b9afe69.tar.gz
* rubygen/cppgen.rb: Use class Uuid for AMQP uuids.
* rubygen/templates/structs.rb: Use class Uuid for AMQP uuids. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@570595 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rwxr-xr-xcpp/rubygen/cppgen.rb4
-rw-r--r--cpp/rubygen/templates/structs.rb3
2 files changed, 2 insertions, 5 deletions
diff --git a/cpp/rubygen/cppgen.rb b/cpp/rubygen/cppgen.rb
index 0063231e84..c6f06e80c7 100755
--- a/cpp/rubygen/cppgen.rb
+++ b/cpp/rubygen/cppgen.rb
@@ -119,9 +119,7 @@ class AmqpDomain
"content"=>CppType.new("Content").passcref.retcref.code("Content"),
"rfc1982-long-set"=>CppType.new("SequenceNumberSet").passcref.retcref,
"long-struct"=>CppType.new("string").passcref.retcref.code("LongString"),
- # FIXME aconway 2007-08-25: Use Uuid class.
- # "uuid"=>CppType.new("Uuid").passcref.retcref.code,
- "uuid"=>CppType.new("string").passcref.retcref.code("ShortString")
+ "uuid"=>CppType.new("Uuid").passcref.retcref
}
def cppname() name.caps; end
diff --git a/cpp/rubygen/templates/structs.rb b/cpp/rubygen/templates/structs.rb
index 2543c43717..fd949eb53d 100644
--- a/cpp/rubygen/templates/structs.rb
+++ b/cpp/rubygen/templates/structs.rb
@@ -20,8 +20,7 @@ class StructGen < CppGen
"timestamp"=>"LongLong",
"table"=>"FieldTable",
"content"=>"Content",
- "long-struct"=>"LongString",
- "uuid" => "ShortString" # FIXME aconway 2007-08-27: Remove.
+ "long-struct"=>"LongString"
}
SizeMap={
"octet"=>"1",